47 alphaPacked_(
dict.get<scalar>(
"alphaPacked"))
56 alphaPacked_(cm.alphaPacked_)
69 Info<<
"Selecting particle stress model " << modelType <<
endl;
71 auto* ctorPtr = dictionaryConstructorTable(modelType);
78 "particle stress model",
80 *dictionaryConstructorTablePtr_
117 value->set(i, tau(
alpha[i],
rho[i], uRms[i]));
A field of fields is a PtrList of fields with reference counting.
Base class for inter-particle stress models.
virtual ~ParticleStressModel()
Destructor.
scalar alphaPacked() const
Member Functions.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
void size(const label n)
Older name for setAddressableSize.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
const vector & tau() const
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.
#define forAll(list, i)
Loop across all elements in list.