Neko 1.99.11
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
scalar_pnpn Module Reference

Contains the scalar_pnpn_t type.

Data Types

type  scalar_pnpn_t
interface  scalar_pnpn_bc_allocate
 Boundary condition factory. Both constructs and initializes the object. More...
type  scalar_pnpn_bc_allocator_entry
 Called in user modules to add an allocator for custom types. More...

Functions/Subroutines

subroutine scalar_pnpn_init (this, msh, coef, gs, params, numerics_params, user, chkp, ulag, vlag, wlag, time_scheme, rho)
 Constructor.
subroutine scalar_pnpn_register_checkpoint (this, chkp)
 Register this scalar scheme with the checkpoint.
subroutine scalar_pnpn_restart (this, chkp)
subroutine scalar_pnpn_free (this)
subroutine scalar_pnpn_step (this, time, ext_bdf, dt_controller, ksp_results)
subroutine print_debug (this)
subroutine scalar_pnpn_setup_bcs_ (this, user, params)
 Initialize boundary conditions.
subroutine scalar_scheme_apply_strong_bcs (this, time)
 Apply strong boundary conditions.

Variables

type(scalar_pnpn_bc_allocator_entry), dimension(:), allocatable, private scalar_pnpn_bc_registry
 Registry of scalar Pn/Pn boundary condition allocators.
integer, private scalar_pnpn_bc_registry_size = 0
 The size of scalar_pnpn_bc_registry.

Function/Subroutine Documentation

◆ print_debug()

subroutine scalar_pnpn::print_debug ( class(scalar_pnpn_t), intent(inout) this)
private

Definition at line 593 of file scalar_pnpn.f90.

◆ scalar_pnpn_free()

subroutine scalar_pnpn::scalar_pnpn_free ( class(scalar_pnpn_t), intent(inout) this)
private

Definition at line 407 of file scalar_pnpn.f90.

◆ scalar_pnpn_init()

subroutine scalar_pnpn::scalar_pnpn_init ( class(scalar_pnpn_t), intent(inout), target this,
type(mesh_t), intent(in), target msh,
type(coef_t), intent(in), target coef,
type(gs_t), intent(inout), target gs,
type(json_file), intent(inout), target params,
type(json_file), intent(inout), target numerics_params,
type(user_t), intent(in), target user,
type(chkp_t), intent(inout), target chkp,
type(field_series_t), intent(in), target ulag,
type(field_series_t), intent(in), target vlag,
type(field_series_t), intent(in), target wlag,
type(time_scheme_controller_t), intent(in), target time_scheme,
type(field_t), intent(in), target rho )
private
Parameters
mshThe mesh.
coefThe coefficients.
gsThe gather-scatter.
paramsThe case parameter file in json.
userType with user-defined procedures.
chkpSet up checkpoint for restarts.
ulagLag arrays for the x velocity component.
vlagLag arrays for the y velocity component.
wlagLag arrays for the z velocity component.
time_schemeThe time-integration controller.
rhoThe fluid density.

Definition at line 223 of file scalar_pnpn.f90.

◆ scalar_pnpn_register_checkpoint()

subroutine scalar_pnpn::scalar_pnpn_register_checkpoint ( class(scalar_pnpn_t), intent(inout), target this,
type(chkp_t), intent(inout) chkp )
private

Definition at line 328 of file scalar_pnpn.f90.

◆ scalar_pnpn_restart()

subroutine scalar_pnpn::scalar_pnpn_restart ( class(scalar_pnpn_t), intent(inout), target this,
type(chkp_t), intent(inout) chkp )
private

Definition at line 342 of file scalar_pnpn.f90.

◆ scalar_pnpn_setup_bcs_()

subroutine scalar_pnpn::scalar_pnpn_setup_bcs_ ( class(scalar_pnpn_t), intent(inout), target this,
type(user_t), intent(in), target user,
type(json_file), intent(inout) params )
private
Parameters
userThe user object binding the user-defined routines.
paramsThe parameters of this scalar.

Definition at line 614 of file scalar_pnpn.f90.

◆ scalar_pnpn_step()

subroutine scalar_pnpn::scalar_pnpn_step ( class(scalar_pnpn_t), intent(inout) this,
type(time_state_t), intent(in) time,
type(time_scheme_controller_t), intent(in) ext_bdf,
type(time_step_controller_t), intent(in) dt_controller,
type(ksp_monitor_t), intent(inout) ksp_results )
private

Apply strong boundary conditions.

Definition at line 458 of file scalar_pnpn.f90.

◆ scalar_scheme_apply_strong_bcs()

subroutine scalar_pnpn::scalar_scheme_apply_strong_bcs ( class(scalar_pnpn_t), intent(inout) this,
type(time_state_t), intent(in) time )
private
Parameters
timeThe current time state.

Definition at line 711 of file scalar_pnpn.f90.

Variable Documentation

◆ scalar_pnpn_bc_registry

type(scalar_pnpn_bc_allocator_entry), dimension(:), allocatable, private scalar_pnpn::scalar_pnpn_bc_registry
private

Definition at line 200 of file scalar_pnpn.f90.

◆ scalar_pnpn_bc_registry_size

integer, private scalar_pnpn::scalar_pnpn_bc_registry_size = 0
private

Definition at line 204 of file scalar_pnpn.f90.