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

Base abstract type for source terms. More...

Inheritance diagram for source_term::source_term_t:
Collaboration diagram for source_term::source_term_t:

Public Member Functions

procedure, pass(this) init_base => source_term_init_base
 Constructor for the source_term_t (base) type. More...
 
procedure, pass(this) free_base => source_term_free_base
 Destructor for the source_term_t (base) type. More...
 
procedure, pass(this) compute => source_term_compute_wrapper
 Executes compute_ based on time conditions. More...
 
procedure(source_term_init), deferred, pass init
 The common constructor using a JSON object. More...
 
procedure(source_term_free), deferred, pass free
 Destructor. More...
 
procedure(source_term_compute), deferred, pass compute_
 Computes the source term and adds the result to fields. More...
 

Public Attributes

type(field_list_tfields
 The fields to be updated with the source term values. More...
 
type(coef_t), pointer coef => null()
 Coefficients for the SEM. More...
 
real(kind=rp) start_time = 0.0_rp
 Start time for adding the source term. More...
 
real(kind=rp) end_time = huge(0.0_rp)
 End time for adding the source term. More...
 

Detailed Description

Base abstract type for source terms.

Definition at line 44 of file source_term.f90.

Member Function/Subroutine Documentation

◆ compute()

procedure, pass(this) source_term::source_term_t::compute

Executes compute_ based on time conditions.

Definition at line 59 of file source_term.f90.

◆ compute_()

procedure(source_term_compute), deferred, pass source_term::source_term_t::compute_

Computes the source term and adds the result to fields.

Definition at line 65 of file source_term.f90.

◆ free()

procedure(source_term_free), deferred, pass source_term::source_term_t::free

Destructor.

Definition at line 63 of file source_term.f90.

◆ free_base()

procedure, pass(this) source_term::source_term_t::free_base

Destructor for the source_term_t (base) type.

Definition at line 57 of file source_term.f90.

◆ init()

procedure(source_term_init), deferred, pass source_term::source_term_t::init

The common constructor using a JSON object.

Definition at line 61 of file source_term.f90.

◆ init_base()

procedure, pass(this) source_term::source_term_t::init_base

Constructor for the source_term_t (base) type.

Definition at line 55 of file source_term.f90.

Member Data Documentation

◆ coef

type(coef_t), pointer source_term::source_term_t::coef => null()

Coefficients for the SEM.

Definition at line 48 of file source_term.f90.

◆ end_time

real(kind=rp) source_term::source_term_t::end_time = huge(0.0_rp)

End time for adding the source term.

Definition at line 52 of file source_term.f90.

◆ fields

type(field_list_t) source_term::source_term_t::fields

The fields to be updated with the source term values.

Definition at line 46 of file source_term.f90.

◆ start_time

real(kind=rp) source_term::source_term_t::start_time = 0.0_rp

Start time for adding the source term.

Definition at line 50 of file source_term.f90.


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