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

Contains the adjoint_scalars_t type that manages multiple scalar fields.

Data Types

type  adjoint_scalars_t
 Type to manage multiple adjoint scalar transport equations. More...
 

Functions/Subroutines

subroutine adjoint_scalars_init (this, n_adjoint_scalars, n_primal_scalars, msh, coef, gs, params_adjoint, params_primal, numerics_params, user, chkp, ulag, vlag, wlag, time_scheme, rho)
 Constructor.
 

Function/Subroutine Documentation

◆ adjoint_scalars_init()

subroutine adjoint_scalars::adjoint_scalars_init ( class(adjoint_scalars_t), intent(inout)  this,
integer, intent(in)  n_adjoint_scalars,
integer, intent(in)  n_primal_scalars,
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_adjoint,
type(json_file), intent(inout), target  params_primal,
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 
)

Initialize the adjoint_scalars container.

Parameters
[in,out]thisThe adjoint_scalars container.
[in]n_adjoint_scalarsThe number of adjoint scalars.
[in]n_primal_scalarsThe number of primal scalars.
[in]mshThe mesh structure used to define the field topology.
coefThe SEM coefficients.
[in,out]gsGather scatter object.
[in,out]params_adjointJSON parameters specific to the adjoint scalars.
[in,out]params_primalJSON parameters specific to the primal scalars.
[in,out]numerics_paramsJSON structure containing numerics parameters.
[in]userUser-defined interface.
[in,out]chkpCheckpointing structure.
[in]ulag,vlag,wlagField history of the primal velocity fields.
[in]time_schemeTime scheme controller.
[in]rhoDensity field.

Definition at line 101 of file adjoint_scalars.f90.