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

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

Collaboration diagram for fluid_source_term::fluid_source_term_t:

Public Member Functions

procedure, pass(this) init => fluid_source_term_init
 Constructor. More...
 
procedure, pass(this) free => fluid_source_term_free
 Destructor. More...
 
procedure, pass(this) compute => fluid_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_x => null()
 X-component of the right-hand side. More...
 
type(field_t), pointer f_y => null()
 Y-component of the right-hand side. More...
 
type(field_t), pointer f_z => null()
 Z-component of 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 fluid source terms.

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

Definition at line 55 of file fluid_source_term.f90.

Member Function/Subroutine Documentation

◆ compute()

procedure, pass(this) fluid_source_term::fluid_source_term_t::compute

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

Definition at line 70 of file fluid_source_term.f90.

◆ free()

procedure, pass(this) fluid_source_term::fluid_source_term_t::free

Destructor.

Definition at line 68 of file fluid_source_term.f90.

◆ init()

procedure, pass(this) fluid_source_term::fluid_source_term_t::init

Constructor.

Definition at line 66 of file fluid_source_term.f90.

◆ init_user_source()

procedure, nopass, private fluid_source_term::fluid_source_term_t::init_user_source
private

Initialize the user source term.

Definition at line 72 of file fluid_source_term.f90.

Member Data Documentation

◆ f_x

type(field_t), pointer fluid_source_term::fluid_source_term_t::f_x => null()

X-component of the right-hand side.

Definition at line 59 of file fluid_source_term.f90.

◆ f_y

type(field_t), pointer fluid_source_term::fluid_source_term_t::f_y => null()

Y-component of the right-hand side.

Definition at line 61 of file fluid_source_term.f90.

◆ f_z

type(field_t), pointer fluid_source_term::fluid_source_term_t::f_z => null()

Z-component of the right-hand side.

Definition at line 63 of file fluid_source_term.f90.

◆ source_terms

class(source_term_wrapper_t), dimension(:), allocatable fluid_source_term::fluid_source_term_t::source_terms

Array of ordinary source terms.

Definition at line 57 of file fluid_source_term.f90.


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