Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenFOAM-plus
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
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Development
OpenFOAM-plus
Commits
c4e7f8e7
Commit
c4e7f8e7
authored
6 years ago
by
Andrew Heather
Browse files
Options
Downloads
Patches
Plain Diff
STYLE: minor code formatting
parent
21bccfdf
Branches
feature-compressibleInterFoam
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.H
+15
-15
15 additions, 15 deletions
...ools/AMIInterpolation/AMIInterpolation/AMIInterpolation.H
with
15 additions
and
15 deletions
src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.H
+
15
−
15
View file @
c4e7f8e7
...
@@ -114,15 +114,15 @@ private:
...
@@ -114,15 +114,15 @@ private:
const
word
methodName_
;
const
word
methodName_
;
//- Flag to indicate that the two patches are co-directional and
//- Flag to indicate that the two patches are co-directional and
//
that the orientation of the target patch should be reversed
//
-
that the orientation of the target patch should be reversed
const
bool
reverseTarget_
;
const
bool
reverseTarget_
;
//- Flag to indicate that the two patches must be matched/an overlap
//- Flag to indicate that the two patches must be matched/an overlap
//
exists between them
//
-
exists between them
const
bool
requireMatch_
;
const
bool
requireMatch_
;
//- Index of processor that holds all of both sides. -1 in all other
//- Index of processor that holds all of both sides. -1 in all other
//
cases
//
-
cases
label
singlePatchProc_
;
label
singlePatchProc_
;
//- Threshold weight below which interpolation is deactivated
//- Threshold weight below which interpolation is deactivated
...
@@ -234,7 +234,7 @@ private:
...
@@ -234,7 +234,7 @@ private:
// Evaluation
// Evaluation
//- Normalise the (area) weights - suppresses numerical error in
//- Normalise the (area) weights - suppresses numerical error in
//
weights calculation
//
-
weights calculation
// NOTE: if area weights are incorrect by 'a significant amount'
// NOTE: if area weights are incorrect by 'a significant amount'
// normalisation may stabilise the solution, but will introduce
// normalisation may stabilise the solution, but will introduce
// numerical error!
// numerical error!
...
@@ -358,7 +358,7 @@ public:
...
@@ -358,7 +358,7 @@ public:
// Access
// Access
//- Set to -1, or the processor holding all faces (both sides) of
//- Set to -1, or the processor holding all faces (both sides) of
//
the AMI
//
-
the AMI
inline
label
singlePatchProc
()
const
;
inline
label
singlePatchProc
()
const
;
//- Threshold weight below which interpolation is deactivated
//- Threshold weight below which interpolation is deactivated
...
@@ -389,16 +389,16 @@ public:
...
@@ -389,16 +389,16 @@ public:
inline
scalarListList
&
srcWeights
();
inline
scalarListList
&
srcWeights
();
//- Return const access to normalisation factor of source
//- Return const access to normalisation factor of source
//
patch weights (i.e. the sum before normalisation)
//
-
patch weights (i.e. the sum before normalisation)
inline
const
scalarField
&
srcWeightsSum
()
const
;
inline
const
scalarField
&
srcWeightsSum
()
const
;
//- Return access to normalisation factor of source
//- Return access to normalisation factor of source
//
patch weights (i.e. the sum before normalisation)
//
-
patch weights (i.e. the sum before normalisation)
inline
scalarField
&
srcWeightsSum
();
inline
scalarField
&
srcWeightsSum
();
//- Source map pointer - valid only if singlePatchProc = -1
//- Source map pointer - valid only if singlePatchProc = -1
//
This gets source data into a form to be consumed by
//
-
This gets source data into a form to be consumed by
//
tgtAddress, tgtWeights
//
-
tgtAddress, tgtWeights
inline
const
mapDistribute
&
srcMap
()
const
;
inline
const
mapDistribute
&
srcMap
()
const
;
...
@@ -423,16 +423,16 @@ public:
...
@@ -423,16 +423,16 @@ public:
inline
scalarListList
&
tgtWeights
();
inline
scalarListList
&
tgtWeights
();
//- Return const access to normalisation factor of target
//- Return const access to normalisation factor of target
//
patch weights (i.e. the sum before normalisation)
//
-
patch weights (i.e. the sum before normalisation)
inline
const
scalarField
&
tgtWeightsSum
()
const
;
inline
const
scalarField
&
tgtWeightsSum
()
const
;
//- Return access to normalisation factor of target
//- Return access to normalisation factor of target
//
patch weights (i.e. the sum before normalisation)
//
-
patch weights (i.e. the sum before normalisation)
inline
scalarField
&
tgtWeightsSum
();
inline
scalarField
&
tgtWeightsSum
();
//- Target map pointer - valid only if singlePatchProc=-1.
//- Target map pointer - valid only if singlePatchProc=-1.
//
This gets target data into a form to be consumed by
//
-
This gets target data into a form to be consumed by
//
srcAddress, srcWeights
//
-
srcAddress, srcWeights
inline
const
mapDistribute
&
tgtMap
()
const
;
inline
const
mapDistribute
&
tgtMap
()
const
;
...
@@ -461,7 +461,7 @@ public:
...
@@ -461,7 +461,7 @@ public:
// Low-level
// Low-level
//- Interpolate from target to source with supplied op
//- Interpolate from target to source with supplied op
//
to combine existing value with remote value and weight
//
-
to combine existing value with remote value and weight
template
<
class
Type
,
class
CombineOp
>
template
<
class
Type
,
class
CombineOp
>
void
interpolateToSource
void
interpolateToSource
(
(
...
@@ -472,7 +472,7 @@ public:
...
@@ -472,7 +472,7 @@ public:
)
const
;
)
const
;
//- Interpolate from source to target with supplied op
//- Interpolate from source to target with supplied op
//
to combine existing value with remote value and weight
//
-
to combine existing value with remote value and weight
template
<
class
Type
,
class
CombineOp
>
template
<
class
Type
,
class
CombineOp
>
void
interpolateToTarget
void
interpolateToTarget
(
(
...
...
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