示例#1
0
DimensionedField<Type, GeoMesh>::DimensionedField
(
    const IOobject& io,
    const Mesh& mesh,
    const dimensionSet& dims,
    const bool checkIOFlags
)
:
    regIOobject(io),
    Field<Type>(GeoMesh::size(mesh)),
    mesh_(mesh),
    dimensions_(dims)
{
    if (checkIOFlags)
    {
        readIfPresent();
    }
}
bool LESModel::read()
{
    if (regIOobject::read())
    {
        if (const dictionary* dictPtr = subDictPtr(type() + "Coeffs"))
        {
            coeffDict_ <<= *dictPtr;
        }

        delta_().read(*this);

        readIfPresent("k0", k0_);

        return true;
    }
    else
    {
        return false;
    }
}
示例#3
0
Foam::IC8H18::IC8H18(const dictionary& dict)
:
    IC8H18()
{
    readIfPresent(*this, dict);
}
示例#4
0
Foam::C3H6O::C3H6O(const dictionary& dict)
:
    C3H6O()
{
    readIfPresent(*this, dict);
}
示例#5
0
Foam::aC10H7CH3::aC10H7CH3(const dictionary& dict)
:
    aC10H7CH3()
{
    readIfPresent(*this, dict);
}
示例#6
0
Foam::C7H8::C7H8(const dictionary& dict)
:
    C7H8()
{
    readIfPresent(*this, dict);
}
示例#7
0
Foam::CH3OH::CH3OH(const dictionary& dict)
:
    CH3OH()
{
    readIfPresent(*this, dict);
}