|
TrioCFD 1.9.9_beta
TrioCFD documentation
|
#include <Support_Champ_Masse_Volumique.h>
Public Member Functions | |
| Support_Champ_Masse_Volumique () | |
| Constructor of the class. | |
| virtual | ~Support_Champ_Masse_Volumique () |
| Virtual destructor (to avoid warnings). | |
| virtual void | associer_champ_masse_volumique (const Champ_base &) |
| Method to be called during problem preparation to ask the object to take into account the density field passed as parameter. | |
| virtual void | dissocier_champ_masse_volumique () |
| Cancels the reference to the density field. | |
| virtual int | has_champ_masse_volumique () const |
| Returns 1 if the density field has been associated, 0 otherwise. | |
| virtual const Champ_base & | get_champ_masse_volumique () const |
| Returns the density field. | |
| const int & | support_ok () const |
Protected Member Functions | |
| virtual void | declare_support_masse_volumique (int ok) |
| The constructor of a derived class that uses the density field must call this function with the value 1. | |
Definition at line 23 of file Support_Champ_Masse_Volumique.h.
| Support_Champ_Masse_Volumique::Support_Champ_Masse_Volumique | ( | ) |
Constructor of the class.
By default, an already coded derived class calls the constructor without argument. support_ok is set to zero and an error is produced if Associer_champ_masse_volumique is called. To indicate that the density field is supported by the derived class, call Declare_support_masse_volumique
Definition at line 27 of file Support_Champ_Masse_Volumique.cpp.
|
virtual |
Virtual destructor (to avoid warnings).
Definition at line 35 of file Support_Champ_Masse_Volumique.cpp.
|
virtual |
Method to be called during problem preparation to ask the object to take into account the density field passed as parameter.
Reimplemented in Op_Diff_negligeable.
Definition at line 54 of file Support_Champ_Masse_Volumique.cpp.
|
protectedvirtual |
The constructor of a derived class that uses the density field must call this function with the value 1.
If a client class (Navier Stokes for example) tries to associate the density field to a class that has not set ok=1, it stops: function not implemented.
Definition at line 46 of file Support_Champ_Masse_Volumique.cpp.
|
virtual |
Cancels the reference to the density field.
Definition at line 69 of file Support_Champ_Masse_Volumique.cpp.
|
virtual |
Returns the density field.
Definition at line 87 of file Support_Champ_Masse_Volumique.cpp.
|
virtual |
Returns 1 if the density field has been associated, 0 otherwise.
Definition at line 78 of file Support_Champ_Masse_Volumique.cpp.
|
inline |
Definition at line 45 of file Support_Champ_Masse_Volumique.h.