Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
cc780ca2
Commit
cc780ca2
authored
Dec 22, 2013
by
Henry
Browse files
Correct for SP build
parent
45b98392
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/lagrangian/intermediate/submodels/MPPIC/AveragingMethods/Dual/Dual.C
View file @
cc780ca2
...
...
@@ -123,7 +123,7 @@ void Foam::AveragingMethods::Dual<Type>::tetGeometry
tetIs
.
tet
(
this
->
mesh_
).
barycentric
(
position
,
tetCoordinates_
);
tetCoordinates_
=
max
(
tetCoordinates_
,
0
.
0
);
tetCoordinates_
=
max
(
tetCoordinates_
,
scalar
(
0
)
);
}
...
...
src/lagrangian/intermediate/submodels/MPPIC/TimeScaleModels/equilibrium/equilibrium.C
View file @
cc780ca2
...
...
@@ -85,9 +85,9 @@ Foam::TimeScaleModels::equilibrium::oneByTau
16
.
0
/
sqrt
(
3
.
0
*
constant
::
mathematical
::
pi
)
*
0
.
25
*
(
1
.
0
-
e_
*
e_
);
return
return
a
*
alpha
*
sqrt
(
max
(
uSqr
,
0
.
0
))
/
max
(
r32
,
SMALL
)
*
alpha
*
sqrt
(
max
(
uSqr
,
scalar
(
0
)
))
/
max
(
r32
,
SMALL
)
*
alphaPacked_
/
max
(
alphaPacked_
-
alpha
,
SMALL
);
}
...
...
src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C
View file @
cc780ca2
...
...
@@ -3508,7 +3508,7 @@ void Foam::autoLayerDriver::addLayers
meshRefiner_
.
updateMesh
(
map
,
labelList
(
0
));
// Update numbering of faceWantedThickness
meshRefinement
::
updateList
(
map
().
faceMap
(),
0
.
0
,
faceWantedThickness
);
meshRefinement
::
updateList
(
map
().
faceMap
(),
scalar
(
0
)
,
faceWantedThickness
);
// Update numbering on baffles
forAll
(
baffles
,
i
)
...
...
src/meshTools/AMIInterpolation/patches/cyclicACMI/cyclicACMIPolyPatch/cyclicACMIPolyPatch.C
View file @
cc780ca2
...
...
@@ -91,10 +91,10 @@ void Foam::cyclicACMIPolyPatch::resetAMI
);
srcMask_
=
min
(
1
.
0
-
tolerance_
,
max
(
tolerance_
,
AMI
().
srcWeightsSum
()));
min
(
scalar
(
1
)
-
tolerance_
,
max
(
tolerance_
,
AMI
().
srcWeightsSum
()));
tgtMask_
=
min
(
1
.
0
-
tolerance_
,
max
(
tolerance_
,
AMI
().
tgtWeightsSum
()));
min
(
scalar
(
1
)
-
tolerance_
,
max
(
tolerance_
,
AMI
().
tgtWeightsSum
()));
forAll
(
Sf
,
faceI
)
{
...
...
src/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionSolver/sixDoFRigidBodyMotionSolver.C
View file @
cc780ca2
...
...
@@ -121,9 +121,9 @@ Foam::sixDoFRigidBodyMotionSolver::sixDoFRigidBodyMotionSolver
max
(
(
do_
-
pDist
.
internalField
())
/
(
do_
-
di_
),
0
.
0
scalar
(
0
)
),
1
.
0
scalar
(
1
)
);
// Convert the scale function to a cosine
...
...
@@ -136,9 +136,9 @@ Foam::sixDoFRigidBodyMotionSolver::sixDoFRigidBodyMotionSolver
-
0
.
5
*
cos
(
scale_
.
internalField
()
*
Foam
::
constant
::
mathematical
::
pi
),
0
.
0
scalar
(
0
)
),
1
.
0
scalar
(
1
)
);
scale_
.
correctBoundaryConditions
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment