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