geometry_spherical_mod Module Reference

defines properties of a 3D spherical mesh More...

Data Types

type  geometry_spherical
 

Functions/Subroutines

subroutine initgeometry_spherical (this, config)
 
pure subroutine scalefactors_1 (this, coords, hx, hy, hz)
 
pure subroutine scalefactors_2 (this, coords, hx, hy, hz)
 
pure subroutine scalefactors_3 (this, coords, hx, hy, hz)
 
pure subroutine scalefactors_4 (this, coords, hx, hy, hz)
 
pure subroutine radius_1 (this, coords, r)
 
pure subroutine radius_2 (this, coords, r)
 
pure subroutine radius_3 (this, coords, r)
 
pure subroutine radius_4 (this, coords, r)
 
pure subroutine positionvector_1 (this, coords, posvec)
 
pure subroutine positionvector_2 (this, coords, posvec)
 
pure subroutine positionvector_3 (this, coords, posvec)
 
pure subroutine positionvector_4 (this, coords, posvec)
 
pure subroutine convert2cartesian_coords_1 (this, curv, cart)
 
pure subroutine convert2cartesian_coords_2 (this, curv, cart)
 
pure subroutine convert2cartesian_coords_3 (this, curv, cart)
 
pure subroutine convert2cartesian_coords_4 (this, curv, cart)
 
pure subroutine convert2curvilinear_coords_1 (this, cart, curv)
 
pure subroutine convert2curvilinear_coords_2 (this, cart, curv)
 
pure subroutine convert2curvilinear_coords_3 (this, cart, curv)
 
pure subroutine convert2curvilinear_coords_4 (this, cart, curv)
 
pure subroutine convert2cartesian_vectors_1 (this, curv, v_curv, v_cart)
 
pure subroutine convert2cartesian_vectors_2 (this, curv, v_curv, v_cart)
 
pure subroutine convert2cartesian_vectors_3 (this, curv, v_curv, v_cart)
 
pure subroutine convert2cartesian_vectors_4 (this, curv, v_curv, v_cart)
 
pure subroutine convert2curvilinear_vectors_1 (this, curv, v_cart, v_curv)
 
pure subroutine convert2curvilinear_vectors_2 (this, curv, v_cart, v_curv)
 
pure subroutine convert2curvilinear_vectors_3 (this, curv, v_cart, v_curv)
 
pure subroutine convert2curvilinear_vectors_4 (this, curv, v_cart, v_curv)
 
subroutine finalize (this)
 
elemental subroutine scalefactors (r, theta, hr, htheta, hphi)
 
elemental real function radius (r)
 
elemental subroutine positionvector (r, rx, ry, rz)
 
elemental subroutine convert2cartesian_coords (r, theta, phi, x, y, z)
 
elemental subroutine convert2curvilinear_coords (x, y, z, r, theta, phi)
 
elemental subroutine convert2cartesian_vectors (r, theta, phi, vr, vtheta, vphi, vx, vy, vz)
 Reference: [6] , Tabelle 13.1. More...
 
elemental subroutine convert2curvilinear_vectors (r, theta, phi, vx, vy, vz, vr, vtheta, vphi)
 Reference: [6] , Tabelle 13.1. More...
 

Variables

character(len=32), parameter geometry_name = "spherical"
 

Detailed Description

defines properties of a 3D spherical mesh

Author
Tobias Illenseer
Manuel Jung
Lars Bösch
Jannes Klee

Function/Subroutine Documentation

◆ convert2cartesian_coords()

elemental subroutine geometry_spherical_mod::convert2cartesian_coords ( real, intent(in)  r,
real, intent(in)  theta,
real, intent(in)  phi,
real, intent(out)  x,
real, intent(out)  y,
real, intent(out)  z 
)
private

Definition at line 455 of file geometry_spherical.f90.

◆ convert2cartesian_coords_1()

pure subroutine geometry_spherical_mod::convert2cartesian_coords_1 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:), intent(in)  curv,
real, dimension(:,:), intent(out)  cart 
)
private

Definition at line 224 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ convert2cartesian_coords_2()

pure subroutine geometry_spherical_mod::convert2cartesian_coords_2 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:,:), intent(in)  curv,
real, dimension(:,:,:), intent(out)  cart 
)
private

Definition at line 235 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ convert2cartesian_coords_3()

pure subroutine geometry_spherical_mod::convert2cartesian_coords_3 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:,:,:), intent(in)  curv,
real, dimension(:,:,:,:), intent(out)  cart 
)
private

Definition at line 246 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ convert2cartesian_coords_4()

pure subroutine geometry_spherical_mod::convert2cartesian_coords_4 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:,:,:,:), intent(in)  curv,
real, dimension(:,:,:,:,:), intent(out)  cart 
)
private

Definition at line 257 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ convert2cartesian_vectors()

elemental subroutine geometry_spherical_mod::convert2cartesian_vectors ( real, intent(in)  r,
real, intent(in)  theta,
real, intent(in)  phi,
real, intent(in)  vr,
real, intent(in)  vtheta,
real, intent(in)  vphi,
real, intent(out)  vx,
real, intent(out)  vy,
real, intent(out)  vz 
)
private

Reference: [6] , Tabelle 13.1.

Definition at line 481 of file geometry_spherical.f90.

◆ convert2cartesian_vectors_1()

pure subroutine geometry_spherical_mod::convert2cartesian_vectors_1 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:), intent(in)  curv,
real, dimension(:,:), intent(in)  v_curv,
real, dimension(:,:), intent(out)  v_cart 
)
private

Definition at line 312 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ convert2cartesian_vectors_2()

pure subroutine geometry_spherical_mod::convert2cartesian_vectors_2 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:,:), intent(in)  curv,
real, dimension(:,:,:), intent(in)  v_curv,
real, dimension(:,:,:), intent(out)  v_cart 
)
private

Definition at line 325 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ convert2cartesian_vectors_3()

pure subroutine geometry_spherical_mod::convert2cartesian_vectors_3 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:,:,:), intent(in)  curv,
real, dimension(:,:,:,:), intent(in)  v_curv,
real, dimension(:,:,:,:), intent(out)  v_cart 
)
private

Definition at line 338 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ convert2cartesian_vectors_4()

pure subroutine geometry_spherical_mod::convert2cartesian_vectors_4 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:,:,:,:), intent(in)  curv,
real, dimension(:,:,:,:,:), intent(in)  v_curv,
real, dimension(:,:,:,:,:), intent(out)  v_cart 
)
private

Definition at line 351 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ convert2curvilinear_coords()

elemental subroutine geometry_spherical_mod::convert2curvilinear_coords ( real, intent(in)  x,
real, intent(in)  y,
real, intent(in)  z,
real, intent(out)  r,
real, intent(out)  theta,
real, intent(out)  phi 
)
private

Definition at line 466 of file geometry_spherical.f90.

◆ convert2curvilinear_coords_1()

pure subroutine geometry_spherical_mod::convert2curvilinear_coords_1 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:), intent(in)  cart,
real, dimension(:,:), intent(out)  curv 
)
private

Definition at line 268 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ convert2curvilinear_coords_2()

pure subroutine geometry_spherical_mod::convert2curvilinear_coords_2 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:,:), intent(in)  cart,
real, dimension(:,:,:), intent(out)  curv 
)
private

Definition at line 279 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ convert2curvilinear_coords_3()

pure subroutine geometry_spherical_mod::convert2curvilinear_coords_3 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:,:,:), intent(in)  cart,
real, dimension(:,:,:,:), intent(out)  curv 
)
private

Definition at line 290 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ convert2curvilinear_coords_4()

pure subroutine geometry_spherical_mod::convert2curvilinear_coords_4 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:,:,:,:), intent(in)  cart,
real, dimension(:,:,:,:,:), intent(out)  curv 
)
private

Definition at line 301 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ convert2curvilinear_vectors()

elemental subroutine geometry_spherical_mod::convert2curvilinear_vectors ( real, intent(in)  r,
real, intent(in)  theta,
real, intent(in)  phi,
real, intent(in)  vx,
real, intent(in)  vy,
real, intent(in)  vz,
real, intent(out)  vr,
real, intent(out)  vtheta,
real, intent(out)  vphi 
)
private

Reference: [6] , Tabelle 13.1.

Definition at line 493 of file geometry_spherical.f90.

◆ convert2curvilinear_vectors_1()

pure subroutine geometry_spherical_mod::convert2curvilinear_vectors_1 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:), intent(in)  curv,
real, dimension(:,:), intent(in)  v_cart,
real, dimension(:,:), intent(out)  v_curv 
)
private

Definition at line 364 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ convert2curvilinear_vectors_2()

pure subroutine geometry_spherical_mod::convert2curvilinear_vectors_2 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:,:), intent(in)  curv,
real, dimension(:,:,:), intent(in)  v_cart,
real, dimension(:,:,:), intent(out)  v_curv 
)
private

Definition at line 377 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ convert2curvilinear_vectors_3()

pure subroutine geometry_spherical_mod::convert2curvilinear_vectors_3 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:,:,:), intent(in)  curv,
real, dimension(:,:,:,:), intent(in)  v_cart,
real, dimension(:,:,:,:), intent(out)  v_curv 
)
private

Definition at line 390 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ convert2curvilinear_vectors_4()

pure subroutine geometry_spherical_mod::convert2curvilinear_vectors_4 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:,:,:,:), intent(in)  curv,
real, dimension(:,:,:,:,:), intent(in)  v_cart,
real, dimension(:,:,:,:,:), intent(out)  v_curv 
)
private

Definition at line 403 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ finalize()

subroutine geometry_spherical_mod::finalize ( class(geometry_spherical), intent(inout)  this)
private

Definition at line 416 of file geometry_spherical.f90.

◆ initgeometry_spherical()

subroutine geometry_spherical_mod::initgeometry_spherical ( class(geometry_spherical), intent(inout)  this,
type(dict_typ), pointer  config 
)
private

Definition at line 90 of file geometry_spherical.f90.

◆ positionvector()

elemental subroutine geometry_spherical_mod::positionvector ( real, intent(in)  r,
real, intent(out)  rx,
real, intent(out)  ry,
real, intent(out)  rz 
)
private

Definition at line 444 of file geometry_spherical.f90.

Here is the caller graph for this function:

◆ positionvector_1()

pure subroutine geometry_spherical_mod::positionvector_1 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:), intent(in)  coords,
real, dimension(:,:), intent(out)  posvec 
)
private

Definition at line 182 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ positionvector_2()

pure subroutine geometry_spherical_mod::positionvector_2 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:,:), intent(in)  coords,
real, dimension(:,:,:), intent(out)  posvec 
)
private

Definition at line 192 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ positionvector_3()

pure subroutine geometry_spherical_mod::positionvector_3 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:,:,:), intent(in)  coords,
real, dimension(:,:,:,:), intent(out)  posvec 
)
private

Definition at line 202 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ positionvector_4()

pure subroutine geometry_spherical_mod::positionvector_4 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:,:,:,:), intent(in)  coords,
real, dimension(:,:,:,:,:), intent(out)  posvec 
)
private

Definition at line 213 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ radius()

elemental real function geometry_spherical_mod::radius ( real, intent(in)  r)
private

Definition at line 435 of file geometry_spherical.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ radius_1()

pure subroutine geometry_spherical_mod::radius_1 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:), intent(in)  coords,
real, dimension(:), intent(out)  r 
)
private

Definition at line 142 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ radius_2()

pure subroutine geometry_spherical_mod::radius_2 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:,:), intent(in)  coords,
real, dimension(:,:), intent(out)  r 
)
private

Definition at line 152 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ radius_3()

pure subroutine geometry_spherical_mod::radius_3 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:,:,:), intent(in)  coords,
real, dimension(:,:,:), intent(out)  r 
)
private

Definition at line 162 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ radius_4()

pure subroutine geometry_spherical_mod::radius_4 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:,:,:,:), intent(in)  coords,
real, dimension(:,:,:,:), intent(out)  r 
)
private

Definition at line 172 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ scalefactors()

elemental subroutine geometry_spherical_mod::scalefactors ( real, intent(in)  r,
real, intent(in)  theta,
real, intent(out)  hr,
real, intent(out)  htheta,
real, intent(out)  hphi 
)
private

Definition at line 424 of file geometry_spherical.f90.

Here is the caller graph for this function:

◆ scalefactors_1()

pure subroutine geometry_spherical_mod::scalefactors_1 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:), intent(in)  coords,
real, dimension(:), intent(out)  hx,
real, dimension(:), intent(out)  hy,
real, dimension(:), intent(out)  hz 
)
private

Definition at line 100 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ scalefactors_2()

pure subroutine geometry_spherical_mod::scalefactors_2 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:,:), intent(in)  coords,
real, dimension(:,:), intent(out)  hx,
real, dimension(:,:), intent(out)  hy,
real, dimension(:,:), intent(out)  hz 
)
private

Definition at line 110 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ scalefactors_3()

pure subroutine geometry_spherical_mod::scalefactors_3 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:,:,:), intent(in)  coords,
real, dimension(:,:,:), intent(out)  hx,
real, dimension(:,:,:), intent(out)  hy,
real, dimension(:,:,:), intent(out)  hz 
)
private

Definition at line 120 of file geometry_spherical.f90.

Here is the call graph for this function:

◆ scalefactors_4()

pure subroutine geometry_spherical_mod::scalefactors_4 ( class(geometry_spherical), intent(in)  this,
real, dimension(:,:,:,:,:), intent(in)  coords,
real, dimension(:,:,:,:), intent(out)  hx,
real, dimension(:,:,:,:), intent(out)  hy,
real, dimension(:,:,:,:), intent(out)  hz 
)
private

Definition at line 131 of file geometry_spherical.f90.

Here is the call graph for this function:

Variable Documentation

◆ geometry_name

character(len=32), parameter geometry_spherical_mod::geometry_name = "spherical"
private

Definition at line 83 of file geometry_spherical.f90.