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
1e8698bc
Commit
1e8698bc
authored
Nov 22, 2017
by
Mark Olesen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
STYLE: relocate some graphRow typedefs to VRWGraph
parent
d894273a
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
23 additions
and
56 deletions
+23
-56
meshLibrary/utilities/containers/FRWGraph/FRWGraph.H
meshLibrary/utilities/containers/FRWGraph/FRWGraph.H
+1
-1
meshLibrary/utilities/containers/FRWGraph/FRWGraphI.H
meshLibrary/utilities/containers/FRWGraph/FRWGraphI.H
+0
-5
meshLibrary/utilities/containers/VRWGraph/VRWGraph.H
meshLibrary/utilities/containers/VRWGraph/VRWGraph.H
+9
-5
meshLibrary/utilities/containers/VRWGraph/VRWGraphI.H
meshLibrary/utilities/containers/VRWGraph/VRWGraphI.H
+0
-4
meshLibrary/utilities/containers/VRWGraph/VRWGraphSMPModifier.C
...brary/utilities/containers/VRWGraph/VRWGraphSMPModifier.C
+0
-4
meshLibrary/utilities/containers/VRWGraph/VRWGraphSMPModifier.H
...brary/utilities/containers/VRWGraph/VRWGraphSMPModifier.H
+4
-4
meshLibrary/utilities/containers/graphRow/graphRow.H
meshLibrary/utilities/containers/graphRow/graphRow.H
+7
-21
meshLibrary/utilities/containers/graphRow/graphRowI.H
meshLibrary/utilities/containers/graphRow/graphRowI.H
+0
-5
meshLibrary/utilities/containers/subGraph/subGraph.H
meshLibrary/utilities/containers/subGraph/subGraph.H
+1
-1
meshLibrary/utilities/containers/subGraph/subGraphI.H
meshLibrary/utilities/containers/subGraph/subGraphI.H
+1
-6
No files found.
meshLibrary/utilities/containers/FRWGraph/FRWGraph.H
View file @
1e8698bc
...
...
@@ -105,7 +105,7 @@ public:
//- Destructor
inline
~
FRWGraph
()
;
~
FRWGraph
()
=
default
;
// Member Functions
...
...
meshLibrary/utilities/containers/FRWGraph/FRWGraphI.H
View file @
1e8698bc
...
...
@@ -86,11 +86,6 @@ inline Foam::FRWGraph<T, width>::FRWGraph
{}
template
<
class
T
,
Foam
::
label
width
>
inline
Foam
::
FRWGraph
<
T
,
width
>::~
FRWGraph
()
{}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
template
<
class
T
,
Foam
::
label
width
>
...
...
meshLibrary/utilities/containers/VRWGraph/VRWGraph.H
View file @
1e8698bc
...
...
@@ -26,7 +26,7 @@ Class
Description
This class is an implementation of a graph with variable column width.
The im
o
plementation is memory efficient.
The implementation is memory efficient.
SourceFiles
VRWGraphI.H
...
...
@@ -48,7 +48,7 @@ SourceFiles
namespace
Foam
{
class
VRWGraph
Modifier
;
class
VRWGraph
;
class
rowElement
{
...
...
@@ -80,8 +80,7 @@ public:
//- Destructor
inline
~
rowElement
()
{}
~
rowElement
()
=
default
;
// Member functions
...
...
@@ -108,6 +107,11 @@ public:
};
// Useful typedefs
typedef
const
graphRow
<
const
VRWGraph
>
constRow
;
typedef
graphRow
<
VRWGraph
>
row
;
/*---------------------------------------------------------------------------*\
Class VRWGraph Declaration
\*---------------------------------------------------------------------------*/
...
...
@@ -175,7 +179,7 @@ public:
//- Destructor
inline
~
VRWGraph
()
;
~
VRWGraph
()
=
default
;
// Member Functions
...
...
meshLibrary/utilities/containers/VRWGraph/VRWGraphI.H
View file @
1e8698bc
...
...
@@ -111,10 +111,6 @@ inline Foam::VRWGraph::VRWGraph
{}
inline
Foam
::
VRWGraph
::~
VRWGraph
()
{}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
inline
Foam
::
label
Foam
::
VRWGraph
::
size
()
const
...
...
meshLibrary/utilities/containers/VRWGraph/VRWGraphSMPModifier.C
View file @
1e8698bc
...
...
@@ -43,10 +43,6 @@ VRWGraphSMPModifier::VRWGraphSMPModifier(VRWGraph& graph)
{}
VRWGraphSMPModifier
::~
VRWGraphSMPModifier
()
{}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
void
VRWGraphSMPModifier
::
mergeGraphs
(
const
List
<
VRWGraph
>&
graphParts
)
...
...
meshLibrary/utilities/containers/VRWGraph/VRWGraphSMPModifier.H
View file @
1e8698bc
...
...
@@ -22,11 +22,11 @@ License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Class
Foam::VRWGraphModifier
Foam::VRWGraph
SMP
Modifier
Description
This class is a modifier for VRWGraph which allows for multi
-
threaded
execution of most time-consuimg functions
This class is a modifier for VRWGraph which allows for multi
-
threaded
execution of
the
most time-consuimg functions
SourceFiles
VRWGraphSMPModifier.H
...
...
@@ -74,7 +74,7 @@ public:
VRWGraphSMPModifier
(
VRWGraph
&
);
//- Destructor
~
VRWGraphSMPModifier
();
~
VRWGraphSMPModifier
()
=
default
;
// Member Functions
...
...
meshLibrary/utilities/containers/graphRow/graphRow.H
View file @
1e8698bc
...
...
@@ -22,7 +22,7 @@ License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Class
Foam::raphRow
Foam::
g
raphRow
Description
This class provides access to a row of a graph
...
...
@@ -44,8 +44,6 @@ SourceFiles
namespace
Foam
{
class
VRWGraph
;
template
<
class
graphType
>
class
graphRow
;
...
...
@@ -79,25 +77,25 @@ public:
// Constructors
//- Construct from graph and row number
inline
graphRow
(
graphType
&
,
const
label
);
inline
graphRow
(
graphType
&
g
,
const
label
i
);
//- Copy contructor
inline
graphRow
(
const
graphRow
<
graphType
>&
);
//- Destructor
inline
~
graphRow
()
;
~
graphRow
()
=
default
;
// Member Functions
//- Returns the number of
rows
//- Returns the number of
elements in the row
inline
label
size
()
const
;
//- Reset the number of
rows
inline
void
setSize
(
const
label
s
ize
);
//- Reset the number of
elements in the row
inline
void
setSize
(
const
label
s
);
//- Clear the
graph
//- Clear the
row
inline
void
clear
();
...
...
@@ -134,21 +132,9 @@ public:
const
graphRow
<
graphType
>&
);
//- Read from Istream, discarding contents of existing graphRow.
/* friend Istream& operator>> <T, width>
(
Istream&,
graphRow<T, width>&
);
*/
};
typedef
const
graphRow
<
const
VRWGraph
>
constRow
;
typedef
graphRow
<
VRWGraph
>
row
;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
}
// End namespace Foam
...
...
meshLibrary/utilities/containers/graphRow/graphRowI.H
View file @
1e8698bc
...
...
@@ -60,11 +60,6 @@ inline Foam::graphRow<graphType>::graphRow
{}
template
<
class
graphType
>
inline
Foam
::
graphRow
<
graphType
>::~
graphRow
()
{}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
template
<
class
graphType
>
...
...
meshLibrary/utilities/containers/subGraph/subGraph.H
View file @
1e8698bc
...
...
@@ -88,7 +88,7 @@ public:
//- Destructor
inline
~
subGraph
()
;
~
subGraph
()
=
default
;
// Member Functions
...
...
meshLibrary/utilities/containers/subGraph/subGraphI.H
View file @
1e8698bc
...
...
@@ -67,11 +67,6 @@ inline Foam::subGraph<graphType>::subGraph
{}
template
<
class
graphType
>
inline
Foam
::
subGraph
<
graphType
>::~
subGraph
()
{}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
template
<
class
graphType
>
...
...
@@ -179,7 +174,7 @@ Foam::subGraph<graphType>::operator[]
template
<
class
graphType
>
inline
Foam
::
graphRow
<
graphType
>
inline
Foam
::
graphRow
<
graphType
>
Foam
::
subGraph
<
graphType
>::
operator
[](
const
label
i
)
{
return
data_
[
start_
+
i
];
...
...
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