35 #ifndef fvConstraint_H
36 #define fvConstraint_H
49 class polyTopoChangeMap;
51 class polyDistributionMap;
65 const word constraintType_;
107 const word& constraintType,
121 const word& constraintType,
Generic GeometricField class.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Return pointer to new fvConstraint object created.
autoPtr< fvConstraint > operator()(Istream &is) const
iNew(const fvMesh &mesh, const word &name)
Finite volume options abstract base class.
virtual void mapMesh(const polyMeshMap &)=0
Update from another mesh using the given map.
virtual bool movePoints()=0
Update for mesh motion.
virtual void distribute(const polyDistributionMap &)=0
Redistribute or update using the given distribution map.
const dictionary & coeffs() const
Return dictionary.
fvConstraint(const word &name, const word &constraintType, const fvMesh &mesh, const dictionary &dict)
Construct from components.
virtual bool read(const dictionary &dict)
Read source dictionary.
virtual bool constrainsField(const word &fieldName) const
Return true if the given field is constrained.
FOR_ALL_FIELD_TYPES(DEFINE_FV_CONSTRAINT_CONSTRAIN)
Apply a constraint to an equation.
virtual wordList constrainedFields() const
Return the list of constrained fields.
const fvMesh & mesh() const
Return const access to the mesh database.
const word & name() const
Return const access to the source name.
declareRunTimeSelectionTable(autoPtr, fvConstraint, dictionary,(const word &name, const word &constraintType, const fvMesh &mesh, const dictionary &dict),(name, constraintType, mesh, dict))
TypeName("fvConstraint")
Runtime type information.
autoPtr< fvConstraint > clone() const
Return clone.
virtual ~fvConstraint()
Destructor.
static autoPtr< fvConstraint > New(const word &name, const fvMesh &mesh, const dictionary &dict)
Return a reference to the selected fvConstraint.
virtual void topoChange(const polyTopoChangeMap &)=0
Update topology using the given map.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A class for handling words, derived from string.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
#define DEFINE_FV_CONSTRAINT_CONSTRAIN_FIELD(Type, nullArg)
#define DEFINE_FV_CONSTRAINT_CONSTRAIN(Type, nullArg)
Forward declarations of fvMatrix specialisations.