74 if (rhoName_ ==
"rhoInf")
86 if (!dict.
found(
"value"))
91 if (dict.
found(
"initialPoints"))
112 motion_(ptf.motion_),
113 initialPoints_(ptf.initialPoints_, mapper),
114 rhoInf_(ptf.rhoInf_),
115 rhoName_(ptf.rhoName_),
116 lookupGravity_(ptf.lookupGravity_),
129 motion_(ptf.motion_),
130 initialPoints_(ptf.initialPoints_),
131 rhoInf_(ptf.rhoInf_),
132 rhoName_(ptf.rhoName_),
133 lookupGravity_(ptf.lookupGravity_),
147 initialPoints_.autoMap(m);
158 refCast<const sixDoFRigidBodyDisplacementPointPatchVectorField>(ptf);
162 initialPoints_.rmap(sDoFptf.initialPoints_, addr);
173 if (lookupGravity_ < 0)
175 if (
db().foundObject<uniformDimensionedVectorField>(
"g"))
177 if (lookupGravity_ == -2)
181 "void sixDoFRigidBodyDisplacementPointPatchVectorField"
184 <<
"Specifying the value of g in this boundary condition "
185 <<
"when g is available from the database is considered "
186 <<
"a fatal error to avoid the possibility of inconsistency"
213 forcesDict.
add(
"rhoInf", rhoInf_);
214 forcesDict.
add(
"rhoName", rhoName_);
223 if (lookupGravity_ == 1)
255 if (lookupGravity_ == 0 || lookupGravity_ == -2)
262 initialPoints_.
writeEntry(
"initialPoints", os);