Skip to content
Snippets Groups Projects
Commit c4e7f8e7 authored by Andrew Heather's avatar Andrew Heather
Browse files

STYLE: minor code formatting

parent 21bccfdf
No related tags found
No related merge requests found
...@@ -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
( (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment