Neko  0.9.0
A portable framework for high-order spectral element flow simulations
const_source_term::const_source_term_t Type Reference

A constant source term. The strength is specified with the values keyword, which should be an array, with a value for each component of the source. More...

Inheritance diagram for const_source_term::const_source_term_t:
Collaboration diagram for const_source_term::const_source_term_t:

Public Member Functions

procedure, pass(this) init => const_source_term_init_from_json
 The common constructor using a JSON object. More...
 
procedure, pass(this) init_from_compenents => const_source_term_init_from_components
 The constructor from type components. More...
 
procedure, pass(this) free => const_source_term_free
 Destructor. More...
 
procedure, pass(this) compute_ => const_source_term_compute
 Computes the source term and adds the result to fields. More...
 
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...
 

Public Attributes

real(kind=rp), dimension(:), allocatable values
 The value of the source term. More...
 
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

Definition at line 51 of file const_source_term.f90.

Member Function/Subroutine Documentation

◆ compute()

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

Definition at line 58 of file source_term.f90.

◆ compute_()

procedure, pass(this) const_source_term::const_source_term_t::compute_

Definition at line 63 of file const_source_term.f90.

◆ free()

procedure, pass(this) const_source_term::const_source_term_t::free

Definition at line 61 of file const_source_term.f90.

◆ free_base()

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

Definition at line 56 of file source_term.f90.

◆ init()

procedure, pass(this) const_source_term::const_source_term_t::init

Definition at line 56 of file const_source_term.f90.

◆ init_base()

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

Definition at line 54 of file source_term.f90.

◆ init_from_compenents()

procedure, pass(this) const_source_term::const_source_term_t::init_from_compenents

Definition at line 58 of file const_source_term.f90.

Member Data Documentation

◆ coef

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

Definition at line 47 of file source_term.f90.

◆ end_time

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

Definition at line 51 of file source_term.f90.

◆ fields

type(field_list_t) source_term::source_term_t::fields
inherited

Definition at line 45 of file source_term.f90.

◆ start_time

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

Definition at line 49 of file source_term.f90.

◆ values

real(kind=rp), dimension(:), allocatable const_source_term::const_source_term_t::values

Definition at line 53 of file const_source_term.f90.


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