Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
Loading...
Searching...
No Matches
adjoint_source_term::adjoint_source_term_t Type Reference

Wrapper contaning and executing the adjoint source terms. More...

Inheritance diagram for adjoint_source_term::adjoint_source_term_t:
Collaboration diagram for adjoint_source_term::adjoint_source_term_t:

Public Member Functions

procedure, pass(thisinit (this, f_x, f_y, f_z, coef, user)
 Constructor.
 

Static Public Member Functions

procedure, nopass init_user_source (source_term, rhs_fields, coef, type, user)
 Initialize the user source term.
 

Detailed Description

Exists mainly to keep the adjoint_scheme_t type smaller and also as placeholder for future optimizations.

Definition at line 50 of file adjoint_source_term.f90.

Member Function/Subroutine Documentation

◆ init()

procedure, pass(this) adjoint_source_term::adjoint_source_term_t::init ( class(adjoint_source_term_t), intent(inout this,
type(field_t), intent(in), pointer  f_x,
type(field_t), intent(in), pointer  f_y,
type(field_t), intent(in), pointer  f_z,
type(coef_t), intent(in), target  coef,
type(user_t), intent(in), target  user 
)

Definition at line 54 of file adjoint_source_term.f90.

◆ init_user_source()

procedure, nopass adjoint_source_term::adjoint_source_term_t::init_user_source ( class(source_term_t), intent(inout), allocatable  source_term,
type(field_list_t)  rhs_fields,
type(coef_t), intent(in coef,
character(len=*)  type,
type(user_t), intent(in user 
)
static
Parameters
source_termThe allocatable source term to be initialized to a user.
rhs_fieldsThe field list with the 3 right-hand-side components.
coefThe SEM coefs.
typeThe type of the user source term, "user_vector" or "user_poinwise".
userThe user type containing the user source term routines.

Definition at line 56 of file adjoint_source_term.f90.


The documentation for this type was generated from the following file: