Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
5de788ea
Commit
5de788ea
authored
Jan 12, 2011
by
mattijs
Browse files
ENH: globalIndexAndTransform : make functions static for ease of use
parent
eece3033
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/primitives/globalIndexAndTransform/globalIndexAndTransform.H
View file @
5de788ea
...
...
@@ -160,14 +160,14 @@ public:
)
const
;
//- Encode index and bare index as components on own processor
inline
labelPair
encode
inline
static
labelPair
encode
(
const
label
index
,
const
label
transformIndex
);
//- Encode index and bare index as components on given processor
inline
labelPair
encode
inline
static
labelPair
encode
(
const
label
procI
,
const
label
index
,
...
...
src/OpenFOAM/primitives/globalIndexAndTransform/globalIndexAndTransformI.H
View file @
5de788ea
...
...
@@ -144,8 +144,8 @@ Foam::label Foam::globalIndexAndTransform::addToTransformIndex
}
// Re-ecode permutation
// ~~~~~~~~~~~~~~~~~~~~
// Re-e
n
code permutation
// ~~~~~~~~~~~~~~~~~~~~
~
return
(
permutation
[
2
]
+
1
)
*
9
...
...
@@ -218,7 +218,7 @@ Foam::labelPair Foam::globalIndexAndTransform::encode
}
Foam
::
label
Foam
::
globalIndexAndTransform
::
index
Foam
::
label
Foam
::
globalIndexAndTransform
::
index
(
const
labelPair
&
globalIAndTransform
)
...
...
Write
Preview
Supports
Markdown
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