Porting changes: Intel

This commit is contained in:
Hrvoje Jasak 2014-06-14 21:15:10 +01:00
parent b357f5e043
commit 5b17b7bf43
3 changed files with 81 additions and 71 deletions

View file

@ -78,21 +78,31 @@ dirichletNeumann::dirichletNeumann
touchFraction_(mesh_.boundaryMesh()[slavePatchID].size(), 0.0),
slaveValueFrac_(mesh_.boundaryMesh()[slavePatchID].size(), symmTensor::zero),
oldSlaveValueFrac_
(mesh_.boundaryMesh()[slavePatchID].size(), symmTensor::zero),
(
mesh_.boundaryMesh()[slavePatchID].size(), symmTensor::zero
),
limitPenetration_(normalContactModelDict_.lookup("limitPenetration")),
penetrationLimit_
(readScalar(normalContactModelDict_.lookup("penetrationLimit"))),
(
readScalar(normalContactModelDict_.lookup("penetrationLimit"))
),
limitPressure_(normalContactModelDict_.lookup("limitPressure")),
pressureLimit_(readScalar(normalContactModelDict_.lookup("pressureLimit"))),
settleContact_
(
normalContactModelDict_.found("settleContact") ?
normalContactModelDict_.lookup("settleContact") : false
normalContactModelDict_.lookupOrDefault<Switch>
(
"settleContact",
false
)
),
settleIterationNumber_
(
settleContact_ ?
readInt(normalContactModelDict_.lookup("settleIterationNumber")) : GREAT
normalContactModelDict_.lookupOrDefault<label>
(
"settleIterationNumber",
1000
)
),
correctMissedVertices_
(

View file

@ -116,7 +116,7 @@ class dirichletNeumann
// so we can turn off contact corrections after the specified
// number of corrections
Switch settleContact_;
int settleIterationNumber_;
label settleIterationNumber_;
// correct pointDistToInter misses
// pointPoints are needed

View file

@ -66,11 +66,11 @@ normalContactModel::normalContactModel
(patch.boundaryMesh().mesh().boundaryMesh()[slavePatchID].nPoints(), 0.0),
masterToSlaveInterpolatorPtr_
(
// new zoneToZoneInterpolation
new PatchToPatchInterpolation<
PrimitivePatch<
face, List, pointField
>, PrimitivePatch<face, List, pointField> >
new PatchToPatchInterpolation
<
PrimitivePatch<face, List, pointField>,
PrimitivePatch<face, List, pointField>
>
(
masterFaceZonePatch,
slaveFaceZonePatch,