Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
Loading...
Searching...
No Matches
adjoint_scalar_scheme Module Reference

Contains the adjoint_scalar_scheme_t type.

Data Types

interface  adjoint_scalar_scheme_free_intrf
 Abstract interface to dealocate a scalar formulation. More...
 
interface  adjoint_scalar_scheme_init_intrf
 Abstract interface to initialize a scalar formulation. More...
 
interface  adjoint_scalar_scheme_restart_intrf
 Abstract interface to restart a scalar formulation. More...
 
interface  adjoint_scalar_scheme_step_intrf
 Abstract interface to compute a time-step. More...
 
type  adjoint_scalar_scheme_t
 Base type for a scalar advection-diffusion solver. More...
 

Functions/Subroutines

subroutine adjoint_scalar_scheme_init (this, msh, c_xh, gs_xh, params, scheme, user, rho)
 Initialize all related components of the current scheme.
 
subroutine adjoint_scalar_scheme_free (this)
 Deallocate a scalar formulation.
 
subroutine adjoint_scalar_scheme_validate (this)
 Validate that all fields, solvers etc necessary for performing time-stepping are defined.
 
subroutine adjoint_scalar_scheme_update_material_properties (t, tstep, this)
 Call user material properties routine and update the values of lambda if necessary.
 
subroutine adjoint_scalar_scheme_set_material_properties (this, params, user)
 Set lamdba and cp.
 

Function/Subroutine Documentation

◆ adjoint_scalar_scheme_free()

subroutine adjoint_scalar_scheme::adjoint_scalar_scheme_free ( class(adjoint_scalar_scheme_t), intent(inout)  this)

Definition at line 422 of file adjoint_scalar_scheme.f90.

◆ adjoint_scalar_scheme_init()

subroutine adjoint_scalar_scheme::adjoint_scalar_scheme_init ( class(adjoint_scalar_scheme_t), intent(inout), target  this,
type(mesh_t), intent(in), target  msh,
type(coef_t), intent(in), target  c_xh,
type(gs_t), intent(inout), target  gs_xh,
type(json_file), intent(inout), target  params,
character(len=*), intent(in)  scheme,
type(user_t), intent(in), target  user,
type(field_t), intent(in), target  rho 
)
Parameters
[in,out]thisThe object.
mshThe mesh.
c_XhThe coefficients.
gs_XhThe gather-scatter.
paramsThe case parameter file in json.
schemeThe name of the scalar scheme.
userType with user-defined procedures.
rhoThe density of the fluid.

Definition at line 247 of file adjoint_scalar_scheme.f90.

◆ adjoint_scalar_scheme_set_material_properties()

subroutine adjoint_scalar_scheme::adjoint_scalar_scheme_set_material_properties ( class(adjoint_scalar_scheme_t), intent(inout)  this,
type(json_file), intent(inout)  params,
type(user_t), intent(in), target  user 
)
Parameters
[in,out]thisThe object.
paramsThe case parameter file.
userThe user interface.

Definition at line 546 of file adjoint_scalar_scheme.f90.

◆ adjoint_scalar_scheme_update_material_properties()

subroutine adjoint_scalar_scheme::adjoint_scalar_scheme_update_material_properties ( real(kind=rp), intent(in)  t,
integer, intent(in)  tstep,
class(adjoint_scalar_scheme_t), intent(inout)  this 
)
Parameters
[in,out]thisThe object.
tTime value.
tstepCurrent time step.

Definition at line 505 of file adjoint_scalar_scheme.f90.

◆ adjoint_scalar_scheme_validate()

subroutine adjoint_scalar_scheme::adjoint_scalar_scheme_validate ( class(adjoint_scalar_scheme_t), intent(inout), target  this)

Definition at line 457 of file adjoint_scalar_scheme.f90.