Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
openfoam
Commits
c92fc95a
Commit
c92fc95a
authored
16 years ago
by
henry
Browse files
Options
Downloads
Patches
Plain Diff
Added forward declarations of IO operators, see:
http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/10948
parent
9446fecf
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/meshTools/cellDist/wallPoint/wallPoint.H
+11
-1
11 additions, 1 deletion
src/meshTools/cellDist/wallPoint/wallPoint.H
with
11 additions
and
1 deletion
src/meshTools/cellDist/wallPoint/wallPoint.H
+
11
−
1
View file @
c92fc95a
...
@@ -51,6 +51,12 @@ namespace Foam
...
@@ -51,6 +51,12 @@ namespace Foam
// Forward declaration of classes
// Forward declaration of classes
class
polyPatch
;
class
polyPatch
;
class
polyMesh
;
class
polyMesh
;
class
wallPoint
;
// Forward declaration of friend functions and operators
Ostream
&
operator
<<
(
Ostream
&
,
const
wallPoint
&
);
Istream
&
operator
>>
(
Istream
&
,
wallPoint
&
);
/*---------------------------------------------------------------------------*\
/*---------------------------------------------------------------------------*\
Class wallPoint Declaration
Class wallPoint Declaration
...
@@ -78,12 +84,15 @@ class wallPoint
...
@@ -78,12 +84,15 @@ class wallPoint
const
scalar
tol
const
scalar
tol
);
);
public:
public:
// Static data members
// Static data members
//- initial point far away.
//- initial point far away.
static
point
greatPoint
;
static
point
greatPoint
;
// Constructors
// Constructors
//- Construct null
//- Construct null
...
@@ -102,6 +111,7 @@ public:
...
@@ -102,6 +111,7 @@ public:
const
wallPoint
&
const
wallPoint
&
);
);
// Member Functions
// Member Functions
// Access
// Access
...
@@ -184,11 +194,11 @@ public:
...
@@ -184,11 +194,11 @@ public:
const
scalar
tol
const
scalar
tol
);
);
// Member Operators
// Member Operators
// Needed for List IO
// Needed for List IO
inline
bool
operator
==
(
const
wallPoint
&
)
const
;
inline
bool
operator
==
(
const
wallPoint
&
)
const
;
inline
bool
operator
!=
(
const
wallPoint
&
)
const
;
inline
bool
operator
!=
(
const
wallPoint
&
)
const
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment