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

class MorEqn Class that groups the functionalities of linking with an More...

#include <MorEqn.h>

Inheritance diagram for MorEqn:
[legend]

Public Member Functions

void associer_eqn (const Equation_base &)
 Associates an equation with the object.
virtual void calculer_pour_post (Champ_base &espace_stockage, const Nom &option, int comp) const
virtual Motcle get_localisation_pour_post (const Nom &option) const
const Equation_baseequation () const
 Returns the reference to the equation pointed to by MorEqn::mon_equation.
Equation_baseequation ()
 Returns the reference to the equation pointed to by MorEqn::mon_equation.
int mon_equation_non_nul () const
virtual void check_multiphase_compatibility () const

Protected Member Functions

 OBS_PTR (Equation_base) mon_equation
virtual ~MorEqn ()

Detailed Description

class MorEqn Class that groups the functionalities of linking with an

Equation. The member MorEqn::mon_equation contains a reference
to an Equation_base object. The classes that are "Equation pieces"
are associated by a 1-1 link to their equation by inheriting from MorEqn,
for example: Operateur_base, Solveur_Masse, Source_base ...
See also
Equation_base, This is not a class of the TRUST tree by itself., This class is intended to be a base class of a class, which will also inherit from Objet_U

Definition at line 34 of file MorEqn.h.

Constructor & Destructor Documentation

◆ ~MorEqn()

MorEqn::~MorEqn ( )
inlineprotectedvirtual

Definition at line 53 of file MorEqn.h.

Member Function Documentation

◆ associer_eqn()

void MorEqn::associer_eqn ( const Equation_base & eqn)

Associates an equation with the object.

Sets the MorEqn::mon_equation member with the object passed as parameter.

Parameters
(Equation_base&eqn) the equation with which we want to associate

Definition at line 28 of file MorEqn.cpp.

◆ calculer_pour_post()

void MorEqn::calculer_pour_post ( Champ_base & espace_stockage,
const Nom & option,
int comp ) const
virtual

◆ check_multiphase_compatibility()

◆ equation() [1/2]

Equation_base & MorEqn::equation ( )
inline

Returns the reference to the equation pointed to by MorEqn::mon_equation.

Returns
(Equation_base&) the equation associated with the object

Definition at line 76 of file MorEqn.h.

◆ equation() [2/2]

const Equation_base & MorEqn::equation ( ) const
inline

Returns the reference to the equation pointed to by MorEqn::mon_equation.

(const version)

Returns
(Equation_base&) the equation associated with the object
Exceptions
noassociated equation

Definition at line 62 of file MorEqn.h.

◆ get_localisation_pour_post()

Motcle MorEqn::get_localisation_pour_post ( const Nom & option) const
virtual

◆ mon_equation_non_nul()

int MorEqn::mon_equation_non_nul ( ) const
inline

Definition at line 85 of file MorEqn.h.

◆ OBS_PTR()

MorEqn::OBS_PTR ( Equation_base )
protected

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