16#ifndef Support_Champ_Masse_Volumique_included
17#define Support_Champ_Masse_Volumique_included
class Champ_base This class is the base of the fields hierarchy.
const int & support_ok() const
virtual const Champ_base & get_champ_masse_volumique() const
Returns the density field.
virtual void dissocier_champ_masse_volumique()
Cancels the reference to the density field.
virtual ~Support_Champ_Masse_Volumique()
Virtual destructor (to avoid warnings).
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...
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 fie...
Support_Champ_Masse_Volumique()
Constructor of the class.
virtual int has_champ_masse_volumique() const
Returns 1 if the density field has been associated, 0 otherwise.