Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
integration-cfmesh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Community
integration-cfmesh
Commits
7fb146a2
Commit
7fb146a2
authored
Dec 18, 2017
by
Mark Olesen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
COMP: add forward declarations for friend operators (eg, gcc-4.9)
parent
3b91ceb0
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
77 additions
and
36 deletions
+77
-36
meshLibrary/utilities/anisotropicMeshing/coordinateModification/coordinateModification.H
...icMeshing/coordinateModification/coordinateModification.H
+2
-0
meshLibrary/utilities/anisotropicMeshing/coordinateModification/planeScaling.H
.../anisotropicMeshing/coordinateModification/planeScaling.H
+2
-0
meshLibrary/utilities/containers/Lists/cellListPMG.H
meshLibrary/utilities/containers/Lists/cellListPMG.H
+5
-2
meshLibrary/utilities/containers/Lists/faceListPMG.H
meshLibrary/utilities/containers/Lists/faceListPMG.H
+5
-2
meshLibrary/utilities/containers/Lists/pointFieldPMG.H
meshLibrary/utilities/containers/Lists/pointFieldPMG.H
+5
-2
meshLibrary/utilities/meshes/polyMeshGen/boundaryPatch/boundaryPatchBase.H
...ties/meshes/polyMeshGen/boundaryPatch/boundaryPatchBase.H
+2
-0
meshLibrary/utilities/meshes/primitives/meshSubsets/meshSubset.H
...rary/utilities/meshes/primitives/meshSubsets/meshSubset.H
+5
-2
meshLibrary/utilities/meshes/primitives/partTet/partTet.H
meshLibrary/utilities/meshes/primitives/partTet/partTet.H
+3
-1
meshLibrary/utilities/octrees/meshOctree/meshOctreeCube/meshOctreeCube.H
...lities/octrees/meshOctree/meshOctreeCube/meshOctreeCube.H
+2
-0
meshLibrary/utilities/octrees/meshOctree/meshOctreeCube/meshOctreeCubeBasic.H
...s/octrees/meshOctree/meshOctreeCube/meshOctreeCubeBasic.H
+5
-2
meshLibrary/utilities/octrees/meshOctree/meshOctreeCube/meshOctreeCubeCoordinates.H
...ees/meshOctree/meshOctreeCube/meshOctreeCubeCoordinates.H
+5
-2
meshLibrary/utilities/octrees/meshOctree/refinementControls/objectRefinement/objectRefinement.H
...ee/refinementControls/objectRefinement/objectRefinement.H
+2
-0
meshLibrary/utilities/octrees/meshOctree/refinementControls/patchRefinement/patchRefinement.C
...tree/refinementControls/patchRefinement/patchRefinement.C
+15
-16
meshLibrary/utilities/octrees/meshOctree/refinementControls/patchRefinement/patchRefinement.H
...tree/refinementControls/patchRefinement/patchRefinement.H
+14
-7
meshLibrary/utilities/surfaceTools/meshSurfaceEngine/meshSurfaceEngine.H
...lities/surfaceTools/meshSurfaceEngine/meshSurfaceEngine.H
+2
-0
meshLibrary/utilities/surfaceTools/meshSurfaceMapper/parMapperHelper.H
...tilities/surfaceTools/meshSurfaceMapper/parMapperHelper.H
+3
-0
No files found.
meshLibrary/utilities/anisotropicMeshing/coordinateModification/coordinateModification.H
View file @
7fb146a2
...
...
@@ -50,6 +50,8 @@ class plane;
namespace
Module
{
class
coordinateModification
;
Ostream
&
operator
<<
(
Ostream
&
,
const
coordinateModification
&
);
/*---------------------------------------------------------------------------*\
Class coordinateModification Declaration
...
...
meshLibrary/utilities/anisotropicMeshing/coordinateModification/planeScaling.H
View file @
7fb146a2
...
...
@@ -44,6 +44,8 @@ namespace Foam
{
namespace
Module
{
class
planeScaling
;
Ostream
&
operator
<<
(
Ostream
&
,
const
planeScaling
&
);
/*---------------------------------------------------------------------------*\
Class planeScaling Declaration
...
...
meshLibrary/utilities/containers/Lists/cellListPMG.H
View file @
7fb146a2
...
...
@@ -46,6 +46,9 @@ namespace Foam
{
namespace
Module
{
class
cellListPMG
;
inline
Ostream
&
operator
<<
(
Ostream
&
,
const
cellListPMG
&
);
inline
Istream
&
operator
>>
(
Istream
&
,
cellListPMG
&
);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
@@ -103,9 +106,9 @@ public:
inline
void
operator
=
(
const
cellList
&
);
friend
inline
Ostream
&
operator
<<
(
Ostream
&
,
const
cellListPMG
&
);
inline
friend
Ostream
&
operator
<<
(
Ostream
&
,
const
cellListPMG
&
);
friend
inline
Istream
&
operator
>>
(
Istream
&
,
cellListPMG
&
);
inline
friend
Istream
&
operator
>>
(
Istream
&
,
cellListPMG
&
);
};
...
...
meshLibrary/utilities/containers/Lists/faceListPMG.H
View file @
7fb146a2
...
...
@@ -46,6 +46,9 @@ namespace Foam
{
namespace
Module
{
class
faceListPMG
;
inline
Ostream
&
operator
<<
(
Ostream
&
,
const
faceListPMG
&
);
inline
Istream
&
operator
>>
(
Istream
&
,
faceListPMG
&
);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
@@ -118,9 +121,9 @@ public:
inline
void
operator
=
(
const
faceList
&
);
friend
inline
Ostream
&
operator
<<
(
Ostream
&
,
const
faceListPMG
&
);
inline
friend
Ostream
&
operator
<<
(
Ostream
&
,
const
faceListPMG
&
);
friend
inline
Istream
&
operator
>>
(
Istream
&
,
faceListPMG
&
);
inline
friend
Istream
&
operator
>>
(
Istream
&
,
faceListPMG
&
);
};
...
...
meshLibrary/utilities/containers/Lists/pointFieldPMG.H
View file @
7fb146a2
...
...
@@ -46,6 +46,9 @@ namespace Foam
{
namespace
Module
{
class
pointFieldPMG
;
inline
Ostream
&
operator
<<
(
Ostream
&
,
const
pointFieldPMG
&
);
inline
Istream
&
operator
>>
(
Istream
&
,
pointFieldPMG
&
);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
@@ -125,9 +128,9 @@ public:
inline
void
operator
=
(
const
pointField
&
);
friend
inline
Ostream
&
operator
<<
(
Ostream
&
,
const
pointFieldPMG
&
);
inline
friend
Ostream
&
operator
<<
(
Ostream
&
,
const
pointFieldPMG
&
);
friend
inline
Istream
&
operator
>>
(
Istream
&
,
pointFieldPMG
&
);
inline
friend
Istream
&
operator
>>
(
Istream
&
,
pointFieldPMG
&
);
};
...
...
meshLibrary/utilities/meshes/polyMeshGen/boundaryPatch/boundaryPatchBase.H
View file @
7fb146a2
...
...
@@ -47,6 +47,8 @@ namespace Foam
{
namespace
Module
{
class
boundaryPatchBase
;
Ostream
&
operator
<<
(
Ostream
&
,
const
boundaryPatchBase
&
);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
meshLibrary/utilities/meshes/primitives/meshSubsets/meshSubset.H
View file @
7fb146a2
...
...
@@ -50,6 +50,9 @@ class Ostream;
namespace
Module
{
class
VRWGraph
;
class
meshSubset
;
inline
Ostream
&
operator
<<
(
Ostream
&
,
const
meshSubset
&
);
inline
Istream
&
operator
>>
(
Istream
&
,
meshSubset
&
);
/*---------------------------------------------------------------------------*\
class meshSubset Declaration
...
...
@@ -161,8 +164,8 @@ public:
// IOstream operators
friend
inline
Ostream
&
operator
<<
(
Ostream
&
,
const
meshSubset
&
);
friend
inline
Istream
&
operator
>>
(
Istream
&
,
meshSubset
&
);
inline
friend
Ostream
&
operator
<<
(
Ostream
&
,
const
meshSubset
&
);
inline
friend
Istream
&
operator
>>
(
Istream
&
,
meshSubset
&
);
};
...
...
meshLibrary/utilities/meshes/primitives/partTet/partTet.H
View file @
7fb146a2
...
...
@@ -48,6 +48,8 @@ class Ostream;
namespace
Module
{
class
partTet
;
inline
Ostream
&
operator
<<
(
Ostream
&
,
const
partTet
&
);
/*---------------------------------------------------------------------------*\
class partTet Declaration
...
...
@@ -155,7 +157,7 @@ public:
// IOstream operators
friend
Ostream
&
operator
<<
(
Ostream
&
,
const
partTet
&
);
inline
friend
Ostream
&
operator
<<
(
Ostream
&
,
const
partTet
&
);
};
...
...
meshLibrary/utilities/octrees/meshOctree/meshOctreeCube/meshOctreeCube.H
View file @
7fb146a2
...
...
@@ -50,7 +50,9 @@ namespace Module
{
class
triSurf
;
class
VRWGraph
;
class
meshOctreeCube
;
class
meshOctreeSlot
;
Ostream
&
operator
<<
(
Ostream
&
,
const
meshOctreeCube
&
);
/*---------------------------------------------------------------------------*\
Class meshOctreeCube Declaration
...
...
meshLibrary/utilities/octrees/meshOctree/meshOctreeCube/meshOctreeCubeBasic.H
View file @
7fb146a2
...
...
@@ -44,6 +44,9 @@ namespace Foam
{
namespace
Module
{
class
meshOctreeCubeBasic
;
inline
Ostream
&
operator
<<
(
Ostream
&
,
const
meshOctreeCubeBasic
&
);
inline
Istream
&
operator
>>
(
Istream
&
,
meshOctreeCubeBasic
&
);
/*---------------------------------------------------------------------------*\
Class meshOctreeCubeBasic Declaration
...
...
@@ -126,13 +129,13 @@ public:
// Friend operators
friend
inline
Ostream
&
operator
<<
inline
friend
Ostream
&
operator
<<
(
Ostream
&
,
const
meshOctreeCubeBasic
&
);
friend
inline
Istream
&
operator
>>
inline
friend
Istream
&
operator
>>
(
Istream
&
,
meshOctreeCubeBasic
&
...
...
meshLibrary/utilities/octrees/meshOctree/meshOctreeCube/meshOctreeCubeCoordinates.H
View file @
7fb146a2
...
...
@@ -50,6 +50,9 @@ class boundBox;
namespace
Module
{
class
triSurf
;
class
meshOctreeCubeCoordinates
;
inline
Istream
&
operator
>>
(
Istream
&
,
meshOctreeCubeCoordinates
&
);
inline
Ostream
&
operator
<<
(
Ostream
&
,
const
meshOctreeCubeCoordinates
&
);
/*---------------------------------------------------------------------------*\
Class meshOctreeCubeCoordinates Declaration
...
...
@@ -218,12 +221,12 @@ public:
inline
bool
operator
<
(
const
meshOctreeCubeCoordinates
&
)
const
;
inline
bool
operator
>
(
const
meshOctreeCubeCoordinates
&
)
const
;
friend
inline
Istream
&
operator
>>
inline
friend
Istream
&
operator
>>
(
Istream
&
,
meshOctreeCubeCoordinates
&
);
friend
inline
Ostream
&
operator
<<
inline
friend
Ostream
&
operator
<<
(
Ostream
&
,
const
meshOctreeCubeCoordinates
&
...
...
meshLibrary/utilities/octrees/meshOctree/refinementControls/objectRefinement/objectRefinement.H
View file @
7fb146a2
...
...
@@ -49,6 +49,8 @@ class boundBox;
namespace
Module
{
class
objectRefinement
;
Ostream
&
operator
<<
(
Ostream
&
,
const
objectRefinement
&
);
/*---------------------------------------------------------------------------*\
Class objectRefinement Declaration
...
...
meshLibrary/utilities/octrees/meshOctree/refinementControls/patchRefinement/patchRefinement.C
View file @
7fb146a2
...
...
@@ -53,12 +53,18 @@ Foam::Module::patchRefinement::patchRefinement(Istream& is)
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Foam
::
word
Foam
::
Module
::
patchRefinement
::
patchName
()
const
const
Foam
::
word
&
Foam
::
Module
::
patchRefinement
::
patchName
()
const
{
return
patchName_
;
}
Foam
::
scalar
Foam
::
Module
::
patchRefinement
::
cellSize
()
const
{
return
cellSize_
;
}
Foam
::
label
Foam
::
Module
::
patchRefinement
::
patchInSurface
(
const
triSurf
&
ts
)
const
{
...
...
@@ -75,12 +81,6 @@ Foam::Module::patchRefinement::patchInSurface(const triSurf& ts) const
}
Foam
::
scalar
Foam
::
Module
::
patchRefinement
::
cellSize
()
const
{
return
cellSize_
;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
void
Foam
::
Module
::
patchRefinement
::
operator
=
(
const
patchRefinement
&
pr
)
...
...
@@ -113,26 +113,25 @@ Foam::Ostream& Foam::Module::operator<<
}
// * * * * * * * * * * * * * * * Global Operators * * * * * * * * * * * * * //
bool
Foam
::
Module
::
operator
==
(
const
Foam
::
Module
::
patchRefinement
&
p1
,
const
Foam
::
Module
::
patchRefinement
&
p2
const
Foam
::
Module
::
patchRefinement
&
lhs
,
const
Foam
::
Module
::
patchRefinement
&
rhs
)
{
if
(
p1
.
patchName
()
==
p2
.
patchName
())
return
true
;
return
false
;
return
(
lhs
.
patchName
()
==
rhs
.
patchName
());
}
bool
Foam
::
Module
::
operator
!=
(
const
Foam
::
Module
::
patchRefinement
&
p1
,
const
Foam
::
Module
::
patchRefinement
&
p2
const
Foam
::
Module
::
patchRefinement
&
lhs
,
const
Foam
::
Module
::
patchRefinement
&
rhs
)
{
return
!
(
p1
==
p2
);
return
!
(
lhs
==
rhs
);
}
...
...
meshLibrary/utilities/octrees/meshOctree/refinementControls/patchRefinement/patchRefinement.H
View file @
7fb146a2
...
...
@@ -50,6 +50,9 @@ class Ostream;
namespace
Module
{
class
triSurf
;
class
patchRefinement
;
Istream
&
operator
>>
(
Istream
&
is
,
patchRefinement
&
pr
);
Ostream
&
operator
<<
(
Ostream
&
os
,
const
patchRefinement
&
pr
);
/*---------------------------------------------------------------------------*\
Class patchRefinement Declaration
...
...
@@ -84,25 +87,29 @@ public:
// Member Functions
word
patchName
()
const
;
label
patchInSurface
(
const
triSurf
&
)
const
;
const
word
&
patchName
()
const
;
scalar
cellSize
()
const
;
label
patchInSurface
(
const
triSurf
&
ts
)
const
;
// Operators
void
operator
=
(
const
patchRefinement
&
);
friend
Istream
&
operator
>>
(
Istream
&
,
patchRefinement
&
);
friend
Ostream
&
operator
<<
(
Ostream
&
,
const
patchRefinement
&
);
friend
bool
operator
==
(
const
patchRefinement
&
,
const
patchRefinement
&
);
friend
bool
operator
!=
(
const
patchRefinement
&
,
const
patchRefinement
&
);
friend
Istream
&
operator
>>
(
Istream
&
is
,
patchRefinement
&
pr
);
friend
Ostream
&
operator
<<
(
Ostream
&
os
,
const
patchRefinement
&
pr
);
};
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Global Operators
bool
operator
==
(
const
patchRefinement
&
lhs
,
const
patchRefinement
&
rhs
);
bool
operator
!=
(
const
patchRefinement
&
lhs
,
const
patchRefinement
&
rhs
);
}
// End namespace Module
}
// End namespace Foam
...
...
meshLibrary/utilities/surfaceTools/meshSurfaceEngine/meshSurfaceEngine.H
View file @
7fb146a2
...
...
@@ -49,6 +49,8 @@ namespace Foam
{
namespace
Module
{
// Forward declarations
class
meshSurfaceEngineModifier
;
/*---------------------------------------------------------------------------*\
Class meshSurfaceEngine Declaration
...
...
meshLibrary/utilities/surfaceTools/meshSurfaceMapper/parMapperHelper.H
View file @
7fb146a2
...
...
@@ -44,6 +44,9 @@ namespace Foam
{
namespace
Module
{
class
parMapperHelper
;
Ostream
&
operator
<<
(
Ostream
&
os
,
const
parMapperHelper
&
h
);
Istream
&
operator
>>
(
Istream
&
is
,
parMapperHelper
&
h
);
/*---------------------------------------------------------------------------*\
Class parMapperHelper Declaration
...
...
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