89 allOk = (allOk && ok);
100 this->operator[](i).writeData(os);
114 this->operator[](i).addResistance(
UEqn);
128 this->operator[](i).addResistance(
UEqn, AU, correctAUprocBC);
141 models.writeData(os);
#define forAll(list, i)
Loop across all elements in list.
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
Generic GeometricField class.
bool good() const
Return true if next operation might succeed.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A list of keyword definitions, which are a keyword followed by any number of values (e....
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
List container for porosity models.
void addResistance(fvVectorMatrix &UEqn)
Add resistance.
void reset(const dictionary &dict)
Reset the source list.
porosityModelList(const fvMesh &mesh, const dictionary &dict)
bool writeData(Ostream &os) const
Write data to Ostream.
bool read(const dictionary &dict)
Read dictionary.
~porosityModelList()
Destructor.
Top level model for porosity models.
virtual bool read(const dictionary &dict)
Read porosity dictionary.
static autoPtr< porosityModel > New(const word &name, const fvMesh &mesh, const dictionary &dict, const word &cellZoneName=word::null)
Selector.
const word & name() const
Return const access to the porosity model name.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const bool)
Return a word representation of a bool.
label count(const ListType &l, typename ListType::const_reference x)
Count the number of occurrences of a value in a list.
points setSize(newPointi)