TrioCFD 1.9.9_beta
TrioCFD documentation
Loading...
Searching...
No Matches
Source Class Reference

Source Generic class of the source term hierarchy. A Source object can. More...

#include <Source.h>

Inheritance diagram for Source:
[legend]
Collaboration diagram for Source:
[legend]

Public Member Functions

DoubleTab & ajouter (DoubleTab &) const
 Call to the underlying object.
DoubleTab & calculer (DoubleTab &) const
 Call to the underlying object.
void typer_direct (const Nom &)
void typer (const Nom &, const Equation_base &)
 Types the source by computing the required type name from the provided parameters.

Detailed Description

Source Generic class of the source term hierarchy. A Source object can.

reference any object derived from Source_base.
Most methods call the methods of the underlying Problem
object via the valeur() method declared through the macro
See also
Source_base

Definition at line 32 of file Source.h.

Member Function Documentation

◆ ajouter()

DoubleTab & Source::ajouter ( DoubleTab & xx) const

Call to the underlying object.

Adds the contribution of the source to the array passed as parameter.

Parameters
(DoubleTab&xx) the array to which the source contribution is added
Returns
(DoubleTab&) the modified parameter xx

Definition at line 73 of file Source.cpp.

◆ calculer()

DoubleTab & Source::calculer ( DoubleTab & xx) const

Call to the underlying object.

Assigns the source term to the array passed as parameter.

Parameters
(DoubleTab&xx) the array in which the source value is stored
Returns
(DoubleTab&) the modified parameter xx

Definition at line 88 of file Source.cpp.

◆ typer()

void Source::typer ( const Nom & typ,
const Equation_base & eqn )

Types the source by computing the required type name from the provided parameters.

Parameters
(Nom&typ) the beginning of the type name
(Equation_base&eqn) the equation associated with the source

Definition at line 52 of file Source.cpp.

◆ typer_direct()

void Source::typer_direct ( const Nom & typ)
Parameters
(Nom&typ) the type name to assign to the source

Definition at line 41 of file Source.cpp.


The documentation for this class was generated from the following files:
  • /home/docs/trust-code/src/Kernel/Framework/Source.h
  • /home/docs/trust-code/src/Kernel/Framework/Source.cpp