Octopus
stencil_cube_oct_m Module Reference

This module defines routines, generating operators for a cubic stencil. More...

Detailed Description

This module defines routines, generating operators for a cubic stencil.

The data structure of the stencil is defined in stencil_oct_m::stencil_t

Functions/Subroutines

integer function, public stencil_cube_size_lapl (dim, order)
 
subroutine, public stencil_cube_get_lapl (this, dim, order)
 
subroutine, public stencil_cube_polynomials_lapl (dim, order, pol)
 
integer function, public stencil_cube_size_grad (dim, order)
 Now come the gradient routines. As this stencil is the same for the laplacian and the gradient, these routines just call the corresponding ones for the laplacian. More...
 
subroutine, public stencil_cube_get_grad (this, dim, order)
 
subroutine, public stencil_cube_polynomials_grad (dim, order, pol)
 

Function/Subroutine Documentation

◆ stencil_cube_size_lapl()

integer function, public stencil_cube_oct_m::stencil_cube_size_lapl ( integer, intent(in)  dim,
integer, intent(in)  order 
)

Definition at line 138 of file stencil_cube.F90.

◆ stencil_cube_get_lapl()

subroutine, public stencil_cube_oct_m::stencil_cube_get_lapl ( type(stencil_t), intent(inout)  this,
integer, intent(in)  dim,
integer, intent(in)  order 
)

Definition at line 151 of file stencil_cube.F90.

◆ stencil_cube_polynomials_lapl()

subroutine, public stencil_cube_oct_m::stencil_cube_polynomials_lapl ( integer, intent(in)  dim,
integer, intent(in)  order,
integer, dimension(:,:), intent(out)  pol 
)
Parameters
[out]polpol(dim, order)

Definition at line 197 of file stencil_cube.F90.

◆ stencil_cube_size_grad()

integer function, public stencil_cube_oct_m::stencil_cube_size_grad ( integer, intent(in)  dim,
integer, intent(in)  order 
)

Now come the gradient routines. As this stencil is the same for the laplacian and the gradient, these routines just call the corresponding ones for the laplacian.

Definition at line 243 of file stencil_cube.F90.

◆ stencil_cube_get_grad()

subroutine, public stencil_cube_oct_m::stencil_cube_get_grad ( type(stencil_t), intent(inout)  this,
integer, intent(in)  dim,
integer, intent(in)  order 
)

Definition at line 256 of file stencil_cube.F90.

◆ stencil_cube_polynomials_grad()

subroutine, public stencil_cube_oct_m::stencil_cube_polynomials_grad ( integer, intent(in)  dim,
integer, intent(in)  order,
integer, dimension(:,:), intent(out)  pol 
)
Parameters
[out]polpol(sbdim, order)

Definition at line 270 of file stencil_cube.F90.