34 namespace regionModels
36 namespace surfaceFilmModels
57 Info<<
" Selecting film force models" <<
endl;
58 if (models.size() > 0)
83 auto& result = tResult.ref();
const T & operator[](const label i) const
Return const reference to the element at given position. FatalError for bounds problem or nullptr...
Base class for surface film models.
Base class for film (stress-based) force models.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< fvVectorMatrix > correct(volVectorField &U)
Return (net) force system.
#define forAll(list, i)
Loop across all elements in list.
const dimensionSet dimVolume(pow3(dimLength))
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
const dimensionSet dimForce
virtual ~forceList()
Destructor.
void setSize(const label newLen)
Same as resize()
static autoPtr< force > New(surfaceFilmRegionModel &film, const dictionary &dict, const word &modelType)
Return a reference to the selected force model.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
forceList(surfaceFilmRegionModel &film)
Construct null.
messageStream Info
Information stream (stdout output on master, null elsewhere)
A class for managing temporary objects.
const dimensionSet dimArea(sqr(dimLength))