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: [bronstein2008] , Tabelle 13.1. More...
 
elemental subroutine convert2curvilinear_vectors (r, theta, phi, vx, vy, vz, vr, vtheta, vphi)
 Reference: [bronstein2008] , 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 456 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 225 of file geometry_spherical.f90.

◆ 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 236 of file geometry_spherical.f90.

◆ 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 247 of file geometry_spherical.f90.

◆ 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 258 of file geometry_spherical.f90.

◆ 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: [bronstein2008] , Tabelle 13.1.

Definition at line 482 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 313 of file geometry_spherical.f90.

◆ 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 326 of file geometry_spherical.f90.

◆ 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 339 of file geometry_spherical.f90.

◆ 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 352 of file geometry_spherical.f90.

◆ 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 467 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 269 of file geometry_spherical.f90.

◆ 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 280 of file geometry_spherical.f90.

◆ 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 291 of file geometry_spherical.f90.

◆ 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 302 of file geometry_spherical.f90.

◆ 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: [bronstein2008] , Tabelle 13.1.

Definition at line 494 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 365 of file geometry_spherical.f90.

◆ 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 378 of file geometry_spherical.f90.

◆ 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 391 of file geometry_spherical.f90.

◆ 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 404 of file geometry_spherical.f90.

◆ finalize()

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

Definition at line 417 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 91 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 445 of file geometry_spherical.f90.

◆ 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 183 of file geometry_spherical.f90.

◆ 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 193 of file geometry_spherical.f90.

◆ 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 203 of file geometry_spherical.f90.

◆ 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 214 of file geometry_spherical.f90.

◆ radius()

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

Definition at line 436 of file geometry_spherical.f90.

◆ 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 143 of file geometry_spherical.f90.

◆ 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 153 of file geometry_spherical.f90.

◆ 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 163 of file geometry_spherical.f90.

◆ 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 173 of file geometry_spherical.f90.

◆ 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 425 of file geometry_spherical.f90.

◆ 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 101 of file geometry_spherical.f90.

◆ 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 111 of file geometry_spherical.f90.

◆ 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 121 of file geometry_spherical.f90.

◆ 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 132 of file geometry_spherical.f90.

Variable Documentation

◆ geometry_name

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

Definition at line 83 of file geometry_spherical.f90.