SABER
type_gaugrid Module Reference

Gaussian grid type. More...

Data Types

type  gaussian_grid
 

Functions/Subroutines

subroutine create_gaugrid (self)
 Create Gaussian grid. More...
 
subroutine delete_gaugrid (self)
 Delete Gaussian grid. More...
 
subroutine, public gaugrid_alloc_coord (self)
 Allocate Gaussian grid coordinate. More...
 
subroutine, public gaugrid_dealloc_coord (self)
 Deallocate Gaussian grid coordinate. More...
 
subroutine, public gaugrid_alloc_field (self)
 Allocate Gaussian grid field. More...
 
subroutine, public gaugrid_dealloc_field (self)
 Deallocate Gaussian grid field. More...
 
subroutine gaugrid_calc_glb_latlon (self)
 Calculate global Gaussian latitudes and longitudes. More...
 
subroutine gaugrid_fld3d_pointer (self, iv, var, fldpointer)
 Set 3D field pointer. More...
 
subroutine gaugrid_fld2d_pointer (self, iv, var, fldpointer)
 Set 2D field pointer. More...
 
subroutine equals (self, rhs)
 Create new gaussian grid from other. More...
 

Variables

real(kind=kind_real) zero = 0.0_kind_real
 
real(kind=kind_real) two = 2.0_kind_real
 
real(kind=kind_real) half = 0.5_kind_real
 

Detailed Description

Gaussian grid type.

Function/Subroutine Documentation

◆ create_gaugrid()

subroutine type_gaugrid::create_gaugrid ( class(gaussian_grid), intent(inout)  self)
private

Create Gaussian grid.

Parameters
[in,out]selfGaussian grid

Definition at line 54 of file type_gaugrid.F90.

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

◆ delete_gaugrid()

subroutine type_gaugrid::delete_gaugrid ( class(gaussian_grid), intent(inout)  self)
private

Delete Gaussian grid.

Parameters
[in,out]selfGaussian grid

Definition at line 71 of file type_gaugrid.F90.

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

◆ equals()

subroutine type_gaugrid::equals ( class(gaussian_grid), intent(inout)  self,
type (gaussian_grid), intent(in)  rhs 
)
private

Create new gaussian grid from other.

Parameters
[in,out]selfGaussian grid
[in]rhsOther Gaussian grid

Definition at line 229 of file type_gaugrid.F90.

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

◆ gaugrid_alloc_coord()

subroutine, public type_gaugrid::gaugrid_alloc_coord ( class(gaussian_grid), intent(inout)  self)

Allocate Gaussian grid coordinate.

Parameters
[in,out]selfGaussian grid

Definition at line 87 of file type_gaugrid.F90.

Here is the caller graph for this function:

◆ gaugrid_alloc_field()

subroutine, public type_gaugrid::gaugrid_alloc_field ( class(gaussian_grid), intent(inout)  self)

Allocate Gaussian grid field.

Parameters
[in,out]selfGaussian grid

Definition at line 124 of file type_gaugrid.F90.

Here is the caller graph for this function:

◆ gaugrid_calc_glb_latlon()

subroutine type_gaugrid::gaugrid_calc_glb_latlon ( class(gaussian_grid), intent(inout)  self)
private

Calculate global Gaussian latitudes and longitudes.

Parameters
[in,out]selfGaussian grid

Definition at line 155 of file type_gaugrid.F90.

Here is the call graph for this function:

◆ gaugrid_dealloc_coord()

subroutine, public type_gaugrid::gaugrid_dealloc_coord ( class(gaussian_grid), intent(inout)  self)

Deallocate Gaussian grid coordinate.

Parameters
[in,out]selfGaussian grid

Definition at line 106 of file type_gaugrid.F90.

Here is the caller graph for this function:

◆ gaugrid_dealloc_field()

subroutine, public type_gaugrid::gaugrid_dealloc_field ( class(gaussian_grid), intent(inout)  self)

Deallocate Gaussian grid field.

Parameters
[in,out]selfGaussian grid

Definition at line 140 of file type_gaugrid.F90.

Here is the caller graph for this function:

◆ gaugrid_fld2d_pointer()

subroutine type_gaugrid::gaugrid_fld2d_pointer ( class(gaussian_grid), intent(inout), target  self,
integer, intent(in)  iv,
character(len=*), intent(in)  var,
real(kind_real), dimension(:,:), intent(inout), pointer  fldpointer 
)
private

Set 2D field pointer.

Parameters
[in,out]selfGaussian grid
[in]ivVariable index
[in]varVariable name
[in,out]fldpointerField pointer

Definition at line 210 of file type_gaugrid.F90.

◆ gaugrid_fld3d_pointer()

subroutine type_gaugrid::gaugrid_fld3d_pointer ( class(gaussian_grid), intent(inout), target  self,
integer, intent(in)  iv,
character(len=*), intent(in)  var,
real(kind_real), dimension(:,:,:), intent(inout), pointer  fldpointer 
)
private

Set 3D field pointer.

Parameters
[in,out]selfGaussian grid
[in]ivVariable index
[in]varVariable name
[in,out]fldpointerField pointer

Definition at line 191 of file type_gaugrid.F90.

Variable Documentation

◆ half

real(kind=kind_real) type_gaugrid::half = 0.5_kind_real
private

Definition at line 21 of file type_gaugrid.F90.

◆ two

real(kind=kind_real) type_gaugrid::two = 2.0_kind_real
private

Definition at line 20 of file type_gaugrid.F90.

◆ zero

real(kind=kind_real) type_gaugrid::zero = 0.0_kind_real
private

Definition at line 19 of file type_gaugrid.F90.