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
8b219fed
Commit
8b219fed
authored
Nov 28, 2016
by
Henry Weller
Browse files
Updated member type comments
See
http://bugs.openfoam.org/view.php?id=2356
parent
0013284e
Changes
21
Hide whitespace changes
Inline
Side-by-side
src/functionObjects/field/fieldAverage/fieldAverage.C
View file @
8b219fed
...
...
@@ -40,7 +40,7 @@ namespace functionObjects
}
// * * * * * * * * * * * *
* Private
Member Functions * * * * * * * * * * * //
// * * * * * * * * * * * *
Protected
Member Functions * * * * * * * * * * * //
void
Foam
::
functionObjects
::
fieldAverage
::
resetFields
()
{
...
...
src/functionObjects/field/fieldAverage/fieldAverage.H
View file @
8b219fed
...
...
@@ -185,7 +185,7 @@ protected:
label
periodIndex_
;
// Pr
ivate
Member Functions
// Pr
otected
Member Functions
// Initialisation routines
...
...
src/functionObjects/field/fieldMinMax/fieldMinMax.C
View file @
8b219fed
...
...
@@ -52,7 +52,7 @@ const Foam::NamedEnum
>
Foam
::
functionObjects
::
fieldMinMax
::
modeTypeNames_
;
// * * * * * * * * * * * *
* Private
Member Functions * * * * * * * * * * * //
// * * * * * * * * * * * *
Protected
Member Functions * * * * * * * * * * * //
void
Foam
::
functionObjects
::
fieldMinMax
::
writeFileHeader
(
const
label
i
)
{
...
...
src/functionObjects/field/fieldMinMax/fieldMinMax.H
View file @
8b219fed
...
...
@@ -123,7 +123,7 @@ protected:
wordList
fieldSet_
;
// Pr
ivate
Member Functions
// Pr
otected
Member Functions
//- Helper function to write the output
template
<
class
Type
>
...
...
src/functionObjects/field/fieldValues/surfaceFieldValue/surfaceFieldValue.C
View file @
8b219fed
...
...
@@ -98,7 +98,7 @@ const Foam::NamedEnum
>
Foam
::
functionObjects
::
fieldValues
::
surfaceFieldValue
::
operationTypeNames_
;
// * * * * * * * * * * * *
* Private
Member Functions * * * * * * * * * * * //
// * * * * * * * * * * * *
Protected
Member Functions * * * * * * * * * * * //
void
Foam
::
functionObjects
::
fieldValues
::
surfaceFieldValue
::
setFaceZoneFaces
()
{
...
...
src/functionObjects/field/nearWallFields/nearWallFields.C
View file @
8b219fed
...
...
@@ -42,7 +42,7 @@ namespace functionObjects
}
// * * * * * * * * * * * *
* Private
Member Functions * * * * * * * * * * * //
// * * * * * * * * * * * *
Protected
Member Functions * * * * * * * * * * * //
void
Foam
::
functionObjects
::
nearWallFields
::
calcAddressing
()
{
...
...
src/functionObjects/field/wallBoundedStreamLine/wallBoundedParticle.C
View file @
8b219fed
...
...
@@ -33,7 +33,7 @@ const std::size_t Foam::wallBoundedParticle::sizeofFields_
);
// * * * * * * * * * * * *
* Private
Member Functions * * * * * * * * * * * //
// * * * * * * * * * * * *
Protected
Member Functions * * * * * * * * * * * //
Foam
::
edge
Foam
::
wallBoundedParticle
::
currentEdge
()
const
{
...
...
src/functionObjects/utilities/codedFunctionObject/codedFunctionObject.C
View file @
8b219fed
...
...
@@ -47,7 +47,7 @@ namespace Foam
);
}
// * * * * * * * * * * * *
* Private
Member Functions * * * * * * * * * * * //
// * * * * * * * * * * * *
Protected
Member Functions * * * * * * * * * * * //
void
Foam
::
codedFunctionObject
::
prepare
(
...
...
src/mesh/blockMesh/searchableCurve/searchableCurve.H
View file @
8b219fed
...
...
@@ -37,9 +37,6 @@ SourceFiles
#include
"treeBoundBox.H"
#include
"searchableSurface.H"
//#include "edgeMesh.H"
//#include "indexedOctree.H"
//#include "treeDataEdge.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
@@ -59,8 +56,6 @@ class searchableCurve
:
public
searchableSurface
{
private:
// Private Member Data
//- Feature
...
...
@@ -222,15 +217,11 @@ public:
NotImplemented
;
}
// regIOobject implementation
bool
writeData
(
Ostream
&
)
const
{
NotImplemented
;
return
false
;
}
};
...
...
src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/AMIMethod/AMIMethod.C
View file @
8b219fed
...
...
@@ -28,7 +28,7 @@ License
#include
"mapDistribute.H"
#include
"unitConversion.H"
// * * * * * * * * * * * *
* Private
Member Functions * * * * * * * * * * * //
// * * * * * * * * * * * *
Protected
Member Functions * * * * * * * * * * * //
template
<
class
SourcePatch
,
class
TargetPatch
>
void
Foam
::
AMIMethod
<
SourcePatch
,
TargetPatch
>::
checkPatches
()
const
...
...
src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C
View file @
8b219fed
...
...
@@ -67,44 +67,6 @@ Foam::vector Foam::cyclicAMIPolyPatch::findFaceNormalMaxRadius
}
// * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * * //
void
Foam
::
cyclicAMIPolyPatch
::
calcTransforms
()
{
const
cyclicAMIPolyPatch
&
half0
=
*
this
;
vectorField
half0Areas
(
half0
.
size
());
forAll
(
half0
,
facei
)
{
half0Areas
[
facei
]
=
half0
[
facei
].
normal
(
half0
.
points
());
}
const
cyclicAMIPolyPatch
&
half1
=
neighbPatch
();
vectorField
half1Areas
(
half1
.
size
());
forAll
(
half1
,
facei
)
{
half1Areas
[
facei
]
=
half1
[
facei
].
normal
(
half1
.
points
());
}
calcTransforms
(
half0
,
half0
.
faceCentres
(),
half0Areas
,
half1
.
faceCentres
(),
half1Areas
);
if
(
debug
)
{
Pout
<<
"calcTransforms() : patch: "
<<
name
()
<<
nl
<<
" forwardT = "
<<
forwardT
()
<<
nl
<<
" reverseT = "
<<
reverseT
()
<<
nl
<<
" separation = "
<<
separation
()
<<
nl
<<
" collocated = "
<<
collocated
()
<<
nl
<<
endl
;
}
}
void
Foam
::
cyclicAMIPolyPatch
::
calcTransforms
(
const
primitivePatch
&
half0
,
...
...
@@ -319,7 +281,7 @@ void Foam::cyclicAMIPolyPatch::calcTransforms
}
// * * * * * * * * * * *
*
Protected Member Functions * * * * * * * * * * * //
// * * * * * * * * * * * Protected Member Functions * * * * * * * * * * *
*
//
void
Foam
::
cyclicAMIPolyPatch
::
resetAMI
(
...
...
@@ -395,6 +357,42 @@ void Foam::cyclicAMIPolyPatch::resetAMI
}
void
Foam
::
cyclicAMIPolyPatch
::
calcTransforms
()
{
const
cyclicAMIPolyPatch
&
half0
=
*
this
;
vectorField
half0Areas
(
half0
.
size
());
forAll
(
half0
,
facei
)
{
half0Areas
[
facei
]
=
half0
[
facei
].
normal
(
half0
.
points
());
}
const
cyclicAMIPolyPatch
&
half1
=
neighbPatch
();
vectorField
half1Areas
(
half1
.
size
());
forAll
(
half1
,
facei
)
{
half1Areas
[
facei
]
=
half1
[
facei
].
normal
(
half1
.
points
());
}
calcTransforms
(
half0
,
half0
.
faceCentres
(),
half0Areas
,
half1
.
faceCentres
(),
half1Areas
);
if
(
debug
)
{
Pout
<<
"calcTransforms() : patch: "
<<
name
()
<<
nl
<<
" forwardT = "
<<
forwardT
()
<<
nl
<<
" reverseT = "
<<
reverseT
()
<<
nl
<<
" separation = "
<<
separation
()
<<
nl
<<
" collocated = "
<<
collocated
()
<<
nl
<<
endl
;
}
}
void
Foam
::
cyclicAMIPolyPatch
::
initGeometry
(
PstreamBuffers
&
pBufs
)
{
// Clear the invalid AMI
...
...
src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.H
View file @
8b219fed
...
...
@@ -53,9 +53,6 @@ class cyclicAMIPolyPatch
:
public
coupledPolyPatch
{
private:
// Private Member Functions
//- Return normal of face at max distance from rotation axis
...
...
src/meshTools/algorithms/MeshWave/FaceCellWave.C
View file @
8b219fed
...
...
@@ -104,7 +104,7 @@ namespace Foam
}
// * * * * * * * * * * * *
* Private
Member Functions * * * * * * * * * * * //
// * * * * * * * * * * * *
Protected
Member Functions * * * * * * * * * * * //
template
<
class
Type
,
class
TrackingData
>
bool
Foam
::
FaceCellWave
<
Type
,
TrackingData
>::
updateCell
...
...
src/meshTools/algorithms/MeshWave/FaceCellWave.H
View file @
8b219fed
...
...
@@ -77,8 +77,6 @@ class FaceCellWave
:
public
FaceCellWaveName
{
private:
// Private Member Functions
//- Disallow default bitwise copy construct
...
...
@@ -90,7 +88,7 @@ private:
protected:
// Pr
ivate
data
// Pr
otected
data
//- Reference to mesh
const
polyMesh
&
mesh_
;
...
...
@@ -244,7 +242,7 @@ protected:
void
handleExplicitConnections
();
// Pr
ivate
static data
// Pr
otected
static data
static
const
scalar
geomTol_
;
static
scalar
propagationTol_
;
...
...
src/meshTools/mappedPatches/mappedPolyPatch/mappedPatchBase.H
View file @
8b219fed
...
...
@@ -133,7 +133,7 @@ public:
//- Helper class for finding nearest
// Nearest:
//
Nearest:
// - point+local index
// - sqr(distance)
// - processor
...
...
src/meshTools/sets/topoSetSource/topoSetSource.C
View file @
8b219fed
...
...
@@ -134,7 +134,7 @@ Foam::Istream& Foam::topoSetSource::checkIs(Istream& is)
}
// * * * * * * * * * * * *
* Private
Member Functions * * * * * * * * * * * //
// * * * * * * * * * * * *
Protected
Member Functions * * * * * * * * * * * //
void
Foam
::
topoSetSource
::
addOrDelete
(
...
...
src/meshTools/sets/topoSets/topoSet.C
View file @
8b219fed
...
...
@@ -130,7 +130,7 @@ Foam::fileName Foam::topoSet::localPath
}
// * * * * * * * * * * * *
* Private
Member Functions * * * * * * * * * * * //
// * * * * * * * * * * * *
Protected
Member Functions * * * * * * * * * * * //
// Update stored cell numbers using map.
// Do in two passes to prevent allocation if nothing changed.
...
...
src/meshTools/triSurface/triSurfaceTools/triSurfaceTools.H
View file @
8b219fed
...
...
@@ -159,7 +159,7 @@ class triSurfaceTools
);
//- Calculate minimum (cos of) edge angle using addressing from
//
/
collapsing
//
collapsing
// edge to v1 at pt. Returns 1 if v1 is on edge without neighbours
// (and hence no edge angle can be defined)
static
scalar
collapseMinCosAngle
...
...
src/rigidBodyDynamics/rigidBodyModel/rigidBodyModel.C
View file @
8b219fed
...
...
@@ -114,6 +114,53 @@ void Foam::RBD::rigidBodyModel::addRestraints
}
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
Foam
::
label
Foam
::
RBD
::
rigidBodyModel
::
join_
(
const
label
parentID
,
const
spatialTransform
&
XT
,
autoPtr
<
joint
>
jointPtr
,
autoPtr
<
rigidBody
>
bodyPtr
)
{
// Append the body
const
rigidBody
&
body
=
bodyPtr
();
bodies_
.
append
(
bodyPtr
);
const
label
bodyID
=
nBodies
()
-
1
;
bodyIDs_
.
insert
(
body
.
name
(),
bodyID
);
// If the parentID refers to a merged body find the parent into which it has
// been merged and set lambda and XT accordingly
if
(
merged
(
parentID
))
{
const
subBody
&
sBody
=
mergedBody
(
parentID
);
lambda_
.
append
(
sBody
.
masterID
());
XT_
.
append
(
XT
&
sBody
.
masterXT
());
}
else
{
lambda_
.
append
(
parentID
);
XT_
.
append
(
XT
);
}
// Append the joint
const
joint
&
prevJoint
=
joints_
[
joints_
.
size
()
-
1
];
joints_
.
append
(
jointPtr
);
joint
&
curJoint
=
joints_
[
joints_
.
size
()
-
1
];
curJoint
.
index
()
=
joints_
.
size
()
-
1
;
curJoint
.
qIndex
()
=
prevJoint
.
qIndex
()
+
prevJoint
.
nDoF
();
// Increment the degrees of freedom
nDoF_
+=
curJoint
.
nDoF
();
unitQuaternions_
=
unitQuaternions_
||
curJoint
.
unitQuaternion
();
resizeState
();
return
bodyID
;
}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * * //
Foam
::
RBD
::
rigidBodyModel
::
rigidBodyModel
()
...
...
@@ -168,52 +215,7 @@ Foam::RBD::rigidBodyModel::~rigidBodyModel()
{}
// * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * //
Foam
::
label
Foam
::
RBD
::
rigidBodyModel
::
join_
(
const
label
parentID
,
const
spatialTransform
&
XT
,
autoPtr
<
joint
>
jointPtr
,
autoPtr
<
rigidBody
>
bodyPtr
)
{
// Append the body
const
rigidBody
&
body
=
bodyPtr
();
bodies_
.
append
(
bodyPtr
);
const
label
bodyID
=
nBodies
()
-
1
;
bodyIDs_
.
insert
(
body
.
name
(),
bodyID
);
// If the parentID refers to a merged body find the parent into which it has
// been merged and set lambda and XT accordingly
if
(
merged
(
parentID
))
{
const
subBody
&
sBody
=
mergedBody
(
parentID
);
lambda_
.
append
(
sBody
.
masterID
());
XT_
.
append
(
XT
&
sBody
.
masterXT
());
}
else
{
lambda_
.
append
(
parentID
);
XT_
.
append
(
XT
);
}
// Append the joint
const
joint
&
prevJoint
=
joints_
[
joints_
.
size
()
-
1
];
joints_
.
append
(
jointPtr
);
joint
&
curJoint
=
joints_
[
joints_
.
size
()
-
1
];
curJoint
.
index
()
=
joints_
.
size
()
-
1
;
curJoint
.
qIndex
()
=
prevJoint
.
qIndex
()
+
prevJoint
.
nDoF
();
// Increment the degrees of freedom
nDoF_
+=
curJoint
.
nDoF
();
unitQuaternions_
=
unitQuaternions_
||
curJoint
.
unitQuaternion
();
resizeState
();
return
bodyID
;
}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
Foam
::
label
Foam
::
RBD
::
rigidBodyModel
::
join
(
...
...
src/transportModels/incompressible/incompressibleTwoPhaseMixture/incompressibleTwoPhaseMixture.C
View file @
8b219fed
...
...
@@ -36,7 +36,7 @@ namespace Foam
}
// * * * * * * * * * * *
* Private
Member Functions * * * * * * * * * * * * //
// * * * * * * * * * * *
Protected
Member Functions * * * * * * * * * * * * //
void
Foam
::
incompressibleTwoPhaseMixture
::
calcNu
()
{
...
...
Prev
1
2
Next
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