Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
84bdcedb
Commit
84bdcedb
authored
Jun 09, 2011
by
Henry
Browse files
Changes to template specialization specification for the latest clang version.
parent
c6e2153d
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/db/IOstreams/token/token.H
View file @
84bdcedb
...
...
@@ -435,8 +435,7 @@ Ostream& operator<<(Ostream&, const token::compound&);
#define defineCompoundTypeName(Type, Name) \
typedef token::Compound<Type> tokenCompound##Name##_; \
defineTemplateTypeNameAndDebugWithName(tokenCompound##Name##_, #Type, 0);
defineTemplateTypeNameAndDebugWithName(token::Compound<Type>, #Type, 0);
#define addCompoundToRunTimeSelectionTable(Type, Name) \
token::compound::addIstreamConstructorToTable<token::Compound<Type> > \
...
...
src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C
View file @
84bdcedb
...
...
@@ -573,8 +573,10 @@ Foam::label Foam::cyclicPolyPatch::getConsistentRotationFace
{
// Determine a face furthest away from the axis
const
scalarField
magRadSqr
=
magSqr
((
faceCentres
-
rotationCentre_
)
^
rotationAxis_
);
const
scalarField
magRadSqr
(
magSqr
((
faceCentres
-
rotationCentre_
)
^
rotationAxis_
)
);
label
rotFace
=
findMax
(
magRadSqr
);
...
...
src/triSurface/triSurfaceFields/triSurfaceFields.C
View file @
84bdcedb
...
...
@@ -32,24 +32,36 @@ namespace Foam
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
#ifndef __clang__
template
<>
#endif
const
word
triSurfaceLabelField
::
typeName
(
"triSurfaceLabelField"
);
#ifndef __clang__
template
<>
#endif
const
word
triSurfaceScalarField
::
typeName
(
"triSurfaceScalarField"
);
#ifndef __clang__
template
<>
#endif
const
word
triSurfaceVectorField
::
typeName
(
"triSurfaceVectorField"
);
#ifndef __clang__
template
<>
#endif
const
word
triSurfaceSphericalTensorField
::
typeName
(
"triSurfaceSphericalTensorField"
);
#ifndef __clang__
template
<>
#endif
const
word
triSurfaceSymmTensorField
::
typeName
(
"triSurfaceSymmTensorField"
);
#ifndef __clang__
template
<>
#endif
const
word
triSurfaceTensorField
::
typeName
(
"triSurfaceTensorField"
);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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