Neko  0.8.1
A portable framework for high-order spectral element flow simulations
scalar_source_term::scalar_source_term_t Type Reference

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

Collaboration diagram for scalar_source_term::scalar_source_term_t:

Public Member Functions

procedure, pass(this) init => scalar_source_term_init
 Constructor. More...
 
procedure, pass(this) free => scalar_source_term_free
 Destructor. More...
 
procedure, pass(this) compute => scalar_source_term_compute
 Add all the source terms to the passed right-hand side fields. More...
 

Public Attributes

class(source_term_wrapper_t), dimension(:), allocatable source_terms
 Array of ordinary source terms. More...
 
type(field_t), pointer f => null()
 The right-hand side. More...
 

Private Member Functions

procedure, nopass, private init_user_source
 Initialize the user source term. More...
 

Detailed Description

Wrapper contaning and executing the scalar source terms.

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

Definition at line 55 of file scalar_source_term.f90.

Member Function/Subroutine Documentation

◆ compute()

procedure, pass(this) scalar_source_term::scalar_source_term_t::compute

Add all the source terms to the passed right-hand side fields.

Definition at line 66 of file scalar_source_term.f90.

◆ free()

procedure, pass(this) scalar_source_term::scalar_source_term_t::free

Destructor.

Definition at line 64 of file scalar_source_term.f90.

◆ init()

procedure, pass(this) scalar_source_term::scalar_source_term_t::init

Constructor.

Definition at line 62 of file scalar_source_term.f90.

◆ init_user_source()

procedure, nopass, private scalar_source_term::scalar_source_term_t::init_user_source
private

Initialize the user source term.

Definition at line 68 of file scalar_source_term.f90.

Member Data Documentation

◆ f

type(field_t), pointer scalar_source_term::scalar_source_term_t::f => null()

The right-hand side.

Definition at line 59 of file scalar_source_term.f90.

◆ source_terms

class(source_term_wrapper_t), dimension(:), allocatable scalar_source_term::scalar_source_term_t::source_terms

Array of ordinary source terms.

Definition at line 57 of file scalar_source_term.f90.


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