ENH: KirchhoffShell: reduce code footprint
This commit is contained in:
@ -49,8 +49,6 @@ vibrationShellModel::vibrationShellModel
|
||||
)
|
||||
:
|
||||
regionFaModel(mesh, "vibratingShell", modelType, dict, true),
|
||||
pName_(dict.get<word>("p")),
|
||||
pa_(mesh.lookupObject<volScalarField>(pName_)),
|
||||
w_
|
||||
(
|
||||
IOobject
|
||||
@ -76,8 +74,10 @@ vibrationShellModel::vibrationShellModel
|
||||
regionMesh(),
|
||||
dimensionedScalar(dimAcceleration, Zero)
|
||||
),
|
||||
faOptions_(Foam::fa::options::New(mesh)),
|
||||
solid_(dict.subDict("solid"))
|
||||
solid_(dict.subDict("solid")),
|
||||
pName_(dict.get<word>("p")),
|
||||
pa_(mesh.lookupObject<volScalarField>(pName_)),
|
||||
faOptions_(Foam::fa::options::New(mesh))
|
||||
{
|
||||
if (faOptions_.optionList::empty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user