Neko  0.8.99
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...

Inheritance diagram for fluid_source_term::fluid_source_term_t:
Collaboration diagram for fluid_source_term::fluid_source_term_t:

Public Member Functions

procedure, pass(this) init => fluid_source_term_init
 Constructor. More...
 
procedure, nopass init_user_source => fluid_init_user_source
 Initialize the user source term. More...
 
procedure, pass(this) init_base => source_term_handler_init_base
 Constructor. More...
 
procedure, pass(this) free => source_term_handler_free
 Destructor. More...
 
procedure, pass(this) compute => source_term_handler_compute
 Add all the source terms to the passed right-hand side fields. More...
 
generic add => add_source_term, add_json_source_terms
 Generic interface to add a source term to the list. More...
 
procedure, pass(this) add_source_term => source_term_handler_add_source_term
 Append a new source term to the source_terms array. More...
 
procedure, pass(this) add_json_source_terms => source_term_handler_add_json_source_terms
 Read from the json file and initialize the source terms. More...
 

Public Attributes

class(source_term_wrapper_t), dimension(:), allocatable source_terms
 Array of ordinary source terms. More...
 
type(field_list_trhs_fields
 The right-hand side. More...
 
type(coef_t), pointer coef
 The coefficients of the (space, mesh) pair. More...
 
type(user_t), pointer user
 The user object. More...
 

Detailed Description

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

Definition at line 50 of file fluid_source_term.f90.

Member Function/Subroutine Documentation

◆ add()

generic source_term_handler::source_term_handler_t::add
inherited

Definition at line 81 of file source_term_handler.f90.

◆ add_json_source_terms()

procedure, pass(this) source_term_handler::source_term_handler_t::add_json_source_terms
inherited

Definition at line 86 of file source_term_handler.f90.

◆ add_source_term()

procedure, pass(this) source_term_handler::source_term_handler_t::add_source_term
inherited

Definition at line 83 of file source_term_handler.f90.

◆ compute()

procedure, pass(this) source_term_handler::source_term_handler_t::compute
inherited

Definition at line 79 of file source_term_handler.f90.

◆ free()

procedure, pass(this) source_term_handler::source_term_handler_t::free
inherited

Definition at line 77 of file source_term_handler.f90.

◆ init()

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

Definition at line 54 of file fluid_source_term.f90.

◆ init_base()

procedure, pass(this) source_term_handler::source_term_handler_t::init_base
inherited

Definition at line 75 of file source_term_handler.f90.

◆ init_user_source()

procedure, nopass fluid_source_term::fluid_source_term_t::init_user_source

Definition at line 56 of file fluid_source_term.f90.

Member Data Documentation

◆ coef

type(coef_t), pointer source_term_handler::source_term_handler_t::coef
inherited

Definition at line 69 of file source_term_handler.f90.

◆ rhs_fields

type(field_list_t) source_term_handler::source_term_handler_t::rhs_fields
inherited

Definition at line 67 of file source_term_handler.f90.

◆ source_terms

class(source_term_wrapper_t), dimension(:), allocatable source_term_handler::source_term_handler_t::source_terms
inherited

Definition at line 65 of file source_term_handler.f90.

◆ user

type(user_t), pointer source_term_handler::source_term_handler_t::user
inherited

Definition at line 71 of file source_term_handler.f90.


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