SABER
type_geom Module Reference

Generic ranks, dimensions and types. More...

Data Types

type  geom_type
 

Functions/Subroutines

subroutine geom_partial_dealloc (geom)
 Release memory (partial) More...
 
subroutine geom_dealloc (geom)
 Release memory. More...
 
subroutine geom_setup (geom, mpl, rng, nam, afunctionspace, fieldset)
 Setup geometry. More...
 
subroutine geom_from_atlas (geom, mpl, afunctionspace, fieldset)
 Set geometry from fieldset. More...
 
subroutine geom_setup_universe (geom, mpl, rng, nam)
 Setup universe. More...
 
subroutine geom_setup_c0 (geom, mpl)
 Setup subset Sc0. More...
 
subroutine geom_setup_independent_levels (geom, mpl)
 Setup independent levels. More...
 
subroutine geom_setup_mask_distance (geom, mpl, nam)
 Setup minimum distance to mask. More...
 
subroutine geom_setup_mask_check (geom, mpl, nam)
 Setup mask boundaries checking fields. More...
 
subroutine geom_index_from_lonlat_r0 (geom, mpl, lon, lat, il0, iproc, ic0a, gmask)
 Get nearest neighbor index from longitude/latitude/level, scalar. More...
 
subroutine geom_index_from_lonlat_r1 (geom, mpl, n, lon, lat, il0, iproc, ic0a, gmask)
 Get nearest neighbor index from longitude/latitude/level, vector. More...
 
subroutine geom_setup_dirac (geom, mpl, nam)
 Setup dirac indices. More...
 
subroutine geom_copy_c0a_to_mga_int_single (geom, mpl, fld_c0a, fld_mga)
 Copy from subset Sc0 to model grid, halo A, single field. More...
 
subroutine geom_copy_c0a_to_mga_int_all (geom, mpl, nam, fld_c0a, fld_mga)
 Copy from subset Sc0 to model grid, halo A, all fields. More...
 
subroutine geom_copy_mga_to_c0a_int_single (geom, mpl, fld_mga, fld_c0a)
 Copy from model grid to subset Sc0, halo A, single field. More...
 
subroutine geom_copy_mga_to_c0a_int_all (geom, mpl, nam, fld_c0a, fld_mga)
 Copy from model grid to subset Sc0, halo A, all fields. More...
 
subroutine geom_copy_c0a_to_mga_real_single (geom, mpl, fld_c0a, fld_mga)
 Copy from subset Sc0 to model grid, halo A, single field. More...
 
subroutine geom_copy_c0a_to_mga_real_all (geom, mpl, nam, fld_c0a, fld_mga)
 Copy from subset Sc0 to model grid, halo A, all fields. More...
 
subroutine geom_copy_mga_to_c0a_real_single (geom, mpl, fld_mga, fld_c0a)
 Copy from model grid to subset Sc0, halo A, single field. More...
 
subroutine geom_copy_mga_to_c0a_real_all (geom, mpl, nam, fld_c0a, fld_mga)
 Copy from model grid to subset Sc0, halo A, all fields. More...
 
subroutine geom_copy_c0a_to_mga_logical_single (geom, mpl, fld_c0a, fld_mga)
 Copy from subset Sc0 to model grid, halo A, single field. More...
 
subroutine geom_copy_c0a_to_mga_logical_all (geom, mpl, nam, fld_c0a, fld_mga)
 Copy from subset Sc0 to model grid, halo A, all fields. More...
 
subroutine geom_copy_mga_to_c0a_logical_single (geom, mpl, fld_mga, fld_c0a)
 Copy from model grid to subset Sc0, halo A, single field. More...
 
subroutine geom_copy_mga_to_c0a_logical_all (geom, mpl, nam, fld_c0a, fld_mga)
 Copy from model grid to subset Sc0, halo A, all fields. More...
 
subroutine geom_fieldset_to_c0 (geom, mpl, nam, fieldset, fld_c0a)
 Fieldset to Fortran array on subset Sc0. More...
 
subroutine geom_c0_to_fieldset (geom, mpl, nam, fld_c0a, fieldset)
 Fortran array on subset Sc0 to fieldset. More...
 
subroutine geom_rand_point (geom, mpl, rng, il0, iproc, ic0a, nr)
 Select random valid point on the horizontal grid. More...
 
subroutine geom_compute_smoother (geom, mpl, nam)
 Compute full grid smoother. More...
 
subroutine geom_apply_smoother (geom, mpl, fld)
 Apply full grid smoother. More...
 
subroutine geom_apply_smoother_ad (geom, mpl, fld)
 Apply full grid smoother, adjoint. More...
 
subroutine geom_initialize_sampling (geom, mpl, ncxa, lon_cxa, lat_cxa, mask_cxa, rh_cxa, cxa_to_cx, ncxu, cxu_to_cxa, tree_cxu, mesh_cxu, verbosity, ifmt, ns, s_to_cx)
 Intialize sampling. More...
 
integer function geom_mg_to_mga (geom, img)
 Conversion from global to halo A on model grid. More...
 
integer function geom_mg_to_proc (geom, img)
 Conversion from global to processor on model grid. More...
 
integer function geom_mg_to_mgu (geom, img)
 Conversion from global to universe on model grid. More...
 
integer function geom_c0_to_c0a (geom, ic0)
 Conversion from global to halo A on subset Sc0. More...
 
integer function geom_c0_to_proc (geom, ic0)
 Conversion from global to processor on subset Sc0. More...
 
integer function geom_c0_to_c0u (geom, ic0)
 Conversion from global to universe on subset Sc0. More...
 

Variables

integer, parameter nfacmin = 4
 Minimum size factor for the first subsampling. More...
 
integer, parameter nssmax = 1000000
 Maximum global grid size. More...
 

Detailed Description

Generic ranks, dimensions and types.

Subroutines/functions list Instrumentation functions Geometry derived type

Function/Subroutine Documentation

◆ geom_apply_smoother()

subroutine type_geom::geom_apply_smoother ( class(geom_type), intent(in)  geom,
type(mpl_type), intent(inout)  mpl,
real(kind_real), dimension(geom%nc0a,geom%nl0), intent(inout)  fld 
)
private

Apply full grid smoother.

Parameters
[in]geomGeometry
[in,out]mplMPI data
[in,out]fldField

Definition at line 2524 of file type_geom.F90.

◆ geom_apply_smoother_ad()

subroutine type_geom::geom_apply_smoother_ad ( class(geom_type), intent(in)  geom,
type(mpl_type), intent(inout)  mpl,
real(kind_real), dimension(geom%nc0a,geom%nl0), intent(inout)  fld 
)
private

Apply full grid smoother, adjoint.

Parameters
[in]geomGeometry
[in,out]mplMPI data
[in,out]fldField

Definition at line 2560 of file type_geom.F90.

◆ geom_c0_to_c0a()

integer function type_geom::geom_c0_to_c0a ( class(geom_type), intent(in)  geom,
integer, intent(in)  ic0 
)
private

Conversion from global to halo A on subset Sc0.

Parameters
[in]geomGeometry
[in]ic0Global index

Definition at line 3171 of file type_geom.F90.

◆ geom_c0_to_c0u()

integer function type_geom::geom_c0_to_c0u ( class(geom_type), intent(in)  geom,
integer, intent(in)  ic0 
)
private

Conversion from global to universe on subset Sc0.

Parameters
[in]geomGeometry
[in]ic0Global index

Definition at line 3229 of file type_geom.F90.

◆ geom_c0_to_fieldset()

subroutine type_geom::geom_c0_to_fieldset ( class(geom_type), intent(in)  geom,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam,
real(kind_real), dimension(geom%nc0a,geom%nl0,nam%nv), intent(in)  fld_c0a,
type(fieldset_type), intent(inout)  fieldset 
)
private

Fortran array on subset Sc0 to fieldset.

Parameters
[in]geomGeometry
[in,out]mplMPI data
[in]namNamelist
[in]fld_c0aField on subset Sc0, halo A

Definition at line 2299 of file type_geom.F90.

◆ geom_c0_to_proc()

integer function type_geom::geom_c0_to_proc ( class(geom_type), intent(in)  geom,
integer, intent(in)  ic0 
)
private

Conversion from global to processor on subset Sc0.

Parameters
[in]geomGeometry
[in]ic0Global index

Definition at line 3200 of file type_geom.F90.

◆ geom_compute_smoother()

subroutine type_geom::geom_compute_smoother ( class(geom_type), intent(inout)  geom,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam 
)
private

Compute full grid smoother.

Parameters
[in,out]geomGeometry
[in,out]mplMPI data
[in]namNamelist

Definition at line 2399 of file type_geom.F90.

◆ geom_copy_c0a_to_mga_int_all()

subroutine type_geom::geom_copy_c0a_to_mga_int_all ( class(geom_type), intent(in)  geom,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam,
integer(kind_int), dimension(geom%nc0a,geom%nl0,nam%nv), intent(in)  fld_c0a,
integer(kind_int), dimension(geom%nmga,geom%nl0,nam%nv), intent(out)  fld_mga 
)
private

Copy from subset Sc0 to model grid, halo A, all fields.

Parameters
[in]geomGeometry
[in,out]mplMPI data
[in]namNamelist
[in]fld_c0aField on subset Sc0, halo A
[out]fld_mgaField on model grid, halo A

Definition at line 1829 of file type_geom.F90.

Here is the caller graph for this function:

◆ geom_copy_c0a_to_mga_int_single()

subroutine type_geom::geom_copy_c0a_to_mga_int_single ( class(geom_type), intent(in)  geom,
type(mpl_type), intent(inout)  mpl,
integer(kind_int), dimension(geom%nc0a,geom%nl0), intent(in)  fld_c0a,
integer(kind_int), dimension(geom%nmga,geom%nl0), intent(out)  fld_mga 
)
private

Copy from subset Sc0 to model grid, halo A, single field.

Parameters
[in]geomGeometry
[in,out]mplMPI data
[in]fld_c0aField on subset Sc0, halo A
[out]fld_mgaField on model grid, halo A

Definition at line 1781 of file type_geom.F90.

Here is the caller graph for this function:

◆ geom_copy_c0a_to_mga_logical_all()

subroutine type_geom::geom_copy_c0a_to_mga_logical_all ( class(geom_type), intent(in)  geom,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam,
logical, dimension(geom%nc0a,geom%nl0,nam%nv), intent(in)  fld_c0a,
logical, dimension(geom%nmga,geom%nl0,nam%nv), intent(out)  fld_mga 
)
private

Copy from subset Sc0 to model grid, halo A, all fields.

Parameters
[in]geomGeometry
[in,out]mplMPI data
[in]namNamelist
[in]fld_c0aField on subset Sc0, halo A
[out]fld_mgaField on model grid, halo A

Definition at line 2143 of file type_geom.F90.

Here is the caller graph for this function:

◆ geom_copy_c0a_to_mga_logical_single()

subroutine type_geom::geom_copy_c0a_to_mga_logical_single ( class(geom_type), intent(in)  geom,
type(mpl_type), intent(inout)  mpl,
logical, dimension(geom%nc0a,geom%nl0), intent(in)  fld_c0a,
logical, dimension(geom%nmga,geom%nl0), intent(out)  fld_mga 
)
private

Copy from subset Sc0 to model grid, halo A, single field.

Parameters
[in]geomGeometry
[in,out]mplMPI data
[in]fld_c0aField on subset Sc0, halo A
[out]fld_mgaField on model grid, halo A

Definition at line 2095 of file type_geom.F90.

Here is the caller graph for this function:

◆ geom_copy_c0a_to_mga_real_all()

subroutine type_geom::geom_copy_c0a_to_mga_real_all ( class(geom_type), intent(in)  geom,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam,
real(kind_real), dimension(geom%nc0a,geom%nl0,nam%nv), intent(in)  fld_c0a,
real(kind_real), dimension(geom%nmga,geom%nl0,nam%nv), intent(out)  fld_mga 
)
private

Copy from subset Sc0 to model grid, halo A, all fields.

Parameters
[in]geomGeometry
[in,out]mplMPI data
[in]namNamelist
[in]fld_c0aField on subset Sc0, halo A
[out]fld_mgaField on model grid, halo A

Definition at line 1986 of file type_geom.F90.

Here is the caller graph for this function:

◆ geom_copy_c0a_to_mga_real_single()

subroutine type_geom::geom_copy_c0a_to_mga_real_single ( class(geom_type), intent(in)  geom,
type(mpl_type), intent(inout)  mpl,
real(kind_real), dimension(geom%nc0a,geom%nl0), intent(in)  fld_c0a,
real(kind_real), dimension(geom%nmga,geom%nl0), intent(out)  fld_mga 
)
private

Copy from subset Sc0 to model grid, halo A, single field.

Parameters
[in]geomGeometry
[in,out]mplMPI data
[in]fld_c0aField on subset Sc0, halo A
[out]fld_mgaField on model grid, halo A

Definition at line 1938 of file type_geom.F90.

Here is the caller graph for this function:

◆ geom_copy_mga_to_c0a_int_all()

subroutine type_geom::geom_copy_mga_to_c0a_int_all ( class(geom_type), intent(in)  geom,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam,
integer(kind_int), dimension(geom%nc0a,geom%nl0,nam%nv), intent(out)  fld_c0a,
integer(kind_int), dimension(geom%nmga,geom%nl0,nam%nv), intent(in)  fld_mga 
)
private

Copy from model grid to subset Sc0, halo A, all fields.

Parameters
[in]geomGeometry
[in,out]mplMPI data
[in]namNamelist
[in]fld_mgaField on model grid, halo A
[out]fld_c0aField on subset Sc0, halo A

Definition at line 1905 of file type_geom.F90.

Here is the caller graph for this function:

◆ geom_copy_mga_to_c0a_int_single()

subroutine type_geom::geom_copy_mga_to_c0a_int_single ( class(geom_type), intent(in)  geom,
type(mpl_type), intent(inout)  mpl,
integer(kind_int), dimension(geom%nmga,geom%nl0), intent(in)  fld_mga,
integer(kind_int), dimension(geom%nc0a,geom%nl0), intent(out)  fld_c0a 
)
private

Copy from model grid to subset Sc0, halo A, single field.

Parameters
[in]geomGeometry
[in,out]mplMPI data
[in]fld_mgaField on model grid, halo A
[out]fld_c0aField on subset Sc0, halo A

Definition at line 1862 of file type_geom.F90.

Here is the caller graph for this function:

◆ geom_copy_mga_to_c0a_logical_all()

subroutine type_geom::geom_copy_mga_to_c0a_logical_all ( class(geom_type), intent(in)  geom,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam,
logical, dimension(geom%nc0a,geom%nl0,nam%nv), intent(out)  fld_c0a,
logical, dimension(geom%nmga,geom%nl0,nam%nv), intent(in)  fld_mga 
)
private

Copy from model grid to subset Sc0, halo A, all fields.

Parameters
[in]geomGeometry
[in,out]mplMPI data
[in]namNamelist
[in]fld_mgaField on model grid, halo A
[out]fld_c0aField on subset Sc0, halo A

Definition at line 2219 of file type_geom.F90.

Here is the caller graph for this function:

◆ geom_copy_mga_to_c0a_logical_single()

subroutine type_geom::geom_copy_mga_to_c0a_logical_single ( class(geom_type), intent(in)  geom,
type(mpl_type), intent(inout)  mpl,
logical, dimension(geom%nmga,geom%nl0), intent(in)  fld_mga,
logical, dimension(geom%nc0a,geom%nl0), intent(out)  fld_c0a 
)
private

Copy from model grid to subset Sc0, halo A, single field.

Parameters
[in]geomGeometry
[in,out]mplMPI data
[in]fld_mgaField on model grid, halo A
[out]fld_c0aField on subset Sc0, halo A

Definition at line 2176 of file type_geom.F90.

Here is the caller graph for this function:

◆ geom_copy_mga_to_c0a_real_all()

subroutine type_geom::geom_copy_mga_to_c0a_real_all ( class(geom_type), intent(in)  geom,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam,
real(kind_real), dimension(geom%nc0a,geom%nl0,nam%nv), intent(out)  fld_c0a,
real(kind_real), dimension(geom%nmga,geom%nl0,nam%nv), intent(in)  fld_mga 
)
private

Copy from model grid to subset Sc0, halo A, all fields.

Parameters
[in]geomGeometry
[in,out]mplMPI data
[in]namNamelist
[in]fld_mgaField on model grid, halo A
[out]fld_c0aField on subset Sc0, halo A

Definition at line 2062 of file type_geom.F90.

Here is the caller graph for this function:

◆ geom_copy_mga_to_c0a_real_single()

subroutine type_geom::geom_copy_mga_to_c0a_real_single ( class(geom_type), intent(in)  geom,
type(mpl_type), intent(inout)  mpl,
real(kind_real), dimension(geom%nmga,geom%nl0), intent(in)  fld_mga,
real(kind_real), dimension(geom%nc0a,geom%nl0), intent(out)  fld_c0a 
)
private

Copy from model grid to subset Sc0, halo A, single field.

Parameters
[in]geomGeometry
[in,out]mplMPI data
[in]fld_mgaField on model grid, halo A
[out]fld_c0aField on subset Sc0, halo A

Definition at line 2019 of file type_geom.F90.

Here is the caller graph for this function:

◆ geom_dealloc()

subroutine type_geom::geom_dealloc ( class(geom_type), intent(inout)  geom)
private

Release memory.

Parameters
[in,out]geomGeometry

Definition at line 340 of file type_geom.F90.

◆ geom_fieldset_to_c0()

subroutine type_geom::geom_fieldset_to_c0 ( class(geom_type), intent(in)  geom,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam,
type(fieldset_type), intent(in)  fieldset,
real(kind_real), dimension(geom%nc0a,geom%nl0,nam%nv), intent(out)  fld_c0a 
)
private

Fieldset to Fortran array on subset Sc0.

Parameters
[in]geomGeometry
[in,out]mplMPI data
[in]namNamelist
[out]fld_c0aField on subset Sc0, halo A

Definition at line 2253 of file type_geom.F90.

◆ geom_from_atlas()

subroutine type_geom::geom_from_atlas ( class(geom_type), intent(inout)  geom,
type(mpl_type), intent(inout)  mpl,
type(atlas_functionspace), intent(in)  afunctionspace,
type(fieldset_type), intent(in), optional  fieldset 
)
private

Set geometry from fieldset.

Parameters
[in,out]geomGeometry
[in,out]mplMPI data
[in]afunctionspaceATLAS function space

Definition at line 552 of file type_geom.F90.

◆ geom_index_from_lonlat_r0()

subroutine type_geom::geom_index_from_lonlat_r0 ( class(geom_type), intent(in)  geom,
type(mpl_type), intent(inout)  mpl,
real(kind_real), intent(in)  lon,
real(kind_real), intent(in)  lat,
integer, intent(in)  il0,
integer, intent(out)  iproc,
integer, intent(out)  ic0a,
logical, intent(out)  gmask 
)
private

Get nearest neighbor index from longitude/latitude/level, scalar.

Parameters
[in]geomGeometry
[in,out]mplMPI data
[in]lonLongitude
[in]latLatitude
[in]il0Level index
[out]iprocTask index
[out]ic0aLocal index
[out]gmaskLocal mask

Definition at line 1529 of file type_geom.F90.

Here is the caller graph for this function:

◆ geom_index_from_lonlat_r1()

subroutine type_geom::geom_index_from_lonlat_r1 ( class(geom_type), intent(in)  geom,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  n,
real(kind_real), dimension(n), intent(in)  lon,
real(kind_real), dimension(n), intent(in)  lat,
integer, dimension(n), intent(in)  il0,
integer, dimension(n), intent(out)  iproc,
integer, dimension(n), intent(out)  ic0a,
logical, dimension(n), intent(out)  gmask 
)
private

Get nearest neighbor index from longitude/latitude/level, vector.

Parameters
[in]geomGeometry
[in,out]mplMPI data
[in]nVector size
[in]lonLongitudes
[in]latLatitudes
[in]il0Level indices
[out]iprocTask indices
[out]ic0aLocal indices
[out]gmaskLocal mask

Definition at line 1615 of file type_geom.F90.

Here is the caller graph for this function:

◆ geom_initialize_sampling()

subroutine type_geom::geom_initialize_sampling ( class(geom_type), intent(in)  geom,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncxa,
real(kind_real), dimension(ncxa), intent(in)  lon_cxa,
real(kind_real), dimension(ncxa), intent(in)  lat_cxa,
logical, dimension(ncxa), intent(in)  mask_cxa,
real(kind_real), dimension(ncxa), intent(in)  rh_cxa,
integer, dimension(ncxa), intent(in)  cxa_to_cx,
integer, intent(in)  ncxu,
integer, dimension(ncxu), intent(in)  cxu_to_cxa,
type(tree_type), intent(in)  tree_cxu,
type(mesh_type), intent(in)  mesh_cxu,
logical, intent(in)  verbosity,
integer, intent(in)  ifmt,
integer, intent(in)  ns,
integer, dimension(ns), intent(out)  s_to_cx 
)
private

Intialize sampling.

Parameters
[in]geomGeometry
[in,out]mplMPI data
[in]ncxaNumber of points (local)
[in]lon_cxaLongitudes (local)
[in]lat_cxaLatitudes (local)
[in]mask_cxaMask (local)
[in]rh_cxaHorizontal support radius (local)
[in]cxa_to_cxLocal to global index
[in]ncxuNumber of points (universe)
[in]cxu_to_cxaUniverse to local index
[in]tree_cxuUniverse KD-tree
[in]mesh_cxuUniverse mesh
[in]verbosityVerbosity flag
[in]ifmtFormat indentation
[in]nsNumber of samplings points (global)
[out]s_to_cxHorizontal sampling index (global)

Definition at line 2596 of file type_geom.F90.

◆ geom_mg_to_mga()

integer function type_geom::geom_mg_to_mga ( class(geom_type), intent(in)  geom,
integer, intent(in)  img 
)
private

Conversion from global to halo A on model grid.

Parameters
[in]geomGeometry
[in]imgGlobal index

Definition at line 3084 of file type_geom.F90.

◆ geom_mg_to_mgu()

integer function type_geom::geom_mg_to_mgu ( class(geom_type), intent(in)  geom,
integer, intent(in)  img 
)
private

Conversion from global to universe on model grid.

Parameters
[in]geomGeometry
[in]imgGlobal index

Definition at line 3142 of file type_geom.F90.

◆ geom_mg_to_proc()

integer function type_geom::geom_mg_to_proc ( class(geom_type), intent(in)  geom,
integer, intent(in)  img 
)
private

Conversion from global to processor on model grid.

Parameters
[in]geomGeometry
[in]imgGlobal index

Definition at line 3113 of file type_geom.F90.

◆ geom_partial_dealloc()

subroutine type_geom::geom_partial_dealloc ( class(geom_type), intent(inout)  geom)
private

Release memory (partial)

Parameters
[in,out]geomGeometry

Definition at line 265 of file type_geom.F90.

◆ geom_rand_point()

subroutine type_geom::geom_rand_point ( class(geom_type), intent(in)  geom,
type(mpl_type), intent(inout)  mpl,
type(rng_type), intent(inout)  rng,
integer, intent(in)  il0,
integer, intent(out)  iproc,
integer, intent(out)  ic0a,
integer, intent(out), optional  nr 
)
private

Select random valid point on the horizontal grid.

Parameters
[in]geomGeometry
[in,out]mplMPI data
[in,out]rngRandom number generator
[in]il0Level
[out]iprocProcessor
[out]ic0aLocal index
[out]nrNumber of random tries

Definition at line 2345 of file type_geom.F90.

◆ geom_setup()

subroutine type_geom::geom_setup ( class(geom_type), intent(inout)  geom,
type(mpl_type), intent(inout)  mpl,
type(rng_type), intent(inout)  rng,
type(nam_type), intent(in)  nam,
type(atlas_functionspace), intent(in)  afunctionspace,
type(fieldset_type), intent(in), optional  fieldset 
)
private

Setup geometry.

Parameters
[in,out]geomGeometry
[in,out]mplMPI data
[in,out]rngRandom number generator
[in]namNamelist
[in]afunctionspaceATLAS function space
[in]fieldsetFieldset containing geometry elements

Definition at line 375 of file type_geom.F90.

◆ geom_setup_c0()

subroutine type_geom::geom_setup_c0 ( class(geom_type), intent(inout)  geom,
type(mpl_type), intent(inout)  mpl 
)
private

Setup subset Sc0.

Parameters
[in,out]geomGeometry
[in,out]mplMPI data

Definition at line 868 of file type_geom.F90.

◆ geom_setup_dirac()

subroutine type_geom::geom_setup_dirac ( class(geom_type), intent(inout)  geom,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam 
)
private

Setup dirac indices.

Parameters
[in,out]geomGeometry
[in,out]mplMPI data
[in]namNamelist

Definition at line 1711 of file type_geom.F90.

◆ geom_setup_independent_levels()

subroutine type_geom::geom_setup_independent_levels ( class(geom_type), intent(inout)  geom,
type(mpl_type), intent(inout)  mpl 
)
private

Setup independent levels.

Parameters
[in,out]geomGeometry
[in,out]mplMPI data

Definition at line 1354 of file type_geom.F90.

◆ geom_setup_mask_check()

subroutine type_geom::geom_setup_mask_check ( class(geom_type), intent(inout)  geom,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam 
)
private

Setup mask boundaries checking fields.

Parameters
[in,out]geomGeometry
[in,out]mplMPI data
[in]namNamelist

Definition at line 1454 of file type_geom.F90.

◆ geom_setup_mask_distance()

subroutine type_geom::geom_setup_mask_distance ( class(geom_type), intent(inout)  geom,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam 
)
private

Setup minimum distance to mask.

Parameters
[in,out]geomGeometry
[in,out]mplMPI data
[in]namNamelist

Definition at line 1384 of file type_geom.F90.

◆ geom_setup_universe()

subroutine type_geom::geom_setup_universe ( class(geom_type), intent(inout)  geom,
type(mpl_type), intent(inout)  mpl,
type(rng_type), intent(inout)  rng,
type(nam_type), intent(in)  nam 
)
private

Setup universe.

Parameters
[in,out]geomGeometry
[in,out]mplMPI data
[in,out]rngRandom number generator
[in]namNamelist

Definition at line 725 of file type_geom.F90.

Variable Documentation

◆ nfacmin

integer, parameter type_geom::nfacmin = 4

Minimum size factor for the first subsampling.

Definition at line 253 of file type_geom.F90.

◆ nssmax

integer, parameter type_geom::nssmax = 1000000

Maximum global grid size.

Definition at line 254 of file type_geom.F90.