Neko 1.99.9
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

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...
 
type  scalar_pnpn_t
 

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)
 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 566 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 394 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 224 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 323 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 337 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 
)
private
Parameters
userThe user object binding the user-defined routines.

Definition at line 586 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 445 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 686 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 201 of file scalar_pnpn.f90.

◆ scalar_pnpn_bc_registry_size

integer, private scalar_pnpn::scalar_pnpn_bc_registry_size = 0
private

Definition at line 205 of file scalar_pnpn.f90.