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
fd658a4a
"...git@develop.openfoam.com:Development/OpenFOAM-plus.git" did not exist on "maintenance-v1812"
Commit
fd658a4a
authored
12 years ago
by
andy
Browse files
Options
Downloads
Patches
Plain Diff
ENH: took code out of Foam namespace and apply Foam:: prefix instead
parent
a83647f6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/finiteVolume/fields/fvPatchFields/basic/calculated/calculatedFvPatchField.C
+19
-21
19 additions, 21 deletions
...s/fvPatchFields/basic/calculated/calculatedFvPatchField.C
with
19 additions
and
21 deletions
src/finiteVolume/fields/fvPatchFields/basic/calculated/calculatedFvPatchField.C
+
19
−
21
View file @
fd658a4a
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
========= |
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011
-2012
OpenFOAM Foundation
\\/ M anipulation |
\\/ M anipulation |
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
License
License
...
@@ -28,19 +28,17 @@ License
...
@@ -28,19 +28,17 @@ License
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace
Foam
{
template
<
class
Type
>
template
<
class
Type
>
const
word
&
fvPatchField
<
Type
>::
calculatedType
()
const
Foam
::
word
&
Foam
::
fvPatchField
<
Type
>::
calculatedType
()
{
{
return
calculatedFvPatchField
<
Type
>::
typeName
;
return
calculatedFvPatchField
<
Type
>::
typeName
;
}
}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
template
<
class
Type
>
template
<
class
Type
>
calculatedFvPatchField
<
Type
>::
calculatedFvPatchField
Foam
::
calculatedFvPatchField
<
Type
>::
calculatedFvPatchField
(
(
const
fvPatch
&
p
,
const
fvPatch
&
p
,
const
DimensionedField
<
Type
,
volMesh
>&
iF
const
DimensionedField
<
Type
,
volMesh
>&
iF
...
@@ -51,7 +49,7 @@ calculatedFvPatchField<Type>::calculatedFvPatchField
...
@@ -51,7 +49,7 @@ calculatedFvPatchField<Type>::calculatedFvPatchField
template
<
class
Type
>
template
<
class
Type
>
calculatedFvPatchField
<
Type
>::
calculatedFvPatchField
Foam
::
calculatedFvPatchField
<
Type
>::
calculatedFvPatchField
(
(
const
calculatedFvPatchField
<
Type
>&
ptf
,
const
calculatedFvPatchField
<
Type
>&
ptf
,
const
fvPatch
&
p
,
const
fvPatch
&
p
,
...
@@ -64,7 +62,7 @@ calculatedFvPatchField<Type>::calculatedFvPatchField
...
@@ -64,7 +62,7 @@ calculatedFvPatchField<Type>::calculatedFvPatchField
template
<
class
Type
>
template
<
class
Type
>
calculatedFvPatchField
<
Type
>::
calculatedFvPatchField
Foam
::
calculatedFvPatchField
<
Type
>::
calculatedFvPatchField
(
(
const
fvPatch
&
p
,
const
fvPatch
&
p
,
const
DimensionedField
<
Type
,
volMesh
>&
iF
,
const
DimensionedField
<
Type
,
volMesh
>&
iF
,
...
@@ -77,7 +75,7 @@ calculatedFvPatchField<Type>::calculatedFvPatchField
...
@@ -77,7 +75,7 @@ calculatedFvPatchField<Type>::calculatedFvPatchField
template
<
class
Type
>
template
<
class
Type
>
calculatedFvPatchField
<
Type
>::
calculatedFvPatchField
Foam
::
calculatedFvPatchField
<
Type
>::
calculatedFvPatchField
(
(
const
calculatedFvPatchField
<
Type
>&
ptf
const
calculatedFvPatchField
<
Type
>&
ptf
)
)
...
@@ -87,7 +85,7 @@ calculatedFvPatchField<Type>::calculatedFvPatchField
...
@@ -87,7 +85,7 @@ calculatedFvPatchField<Type>::calculatedFvPatchField
template
<
class
Type
>
template
<
class
Type
>
calculatedFvPatchField
<
Type
>::
calculatedFvPatchField
Foam
::
calculatedFvPatchField
<
Type
>::
calculatedFvPatchField
(
(
const
calculatedFvPatchField
<
Type
>&
ptf
,
const
calculatedFvPatchField
<
Type
>&
ptf
,
const
DimensionedField
<
Type
,
volMesh
>&
iF
const
DimensionedField
<
Type
,
volMesh
>&
iF
...
@@ -99,7 +97,8 @@ calculatedFvPatchField<Type>::calculatedFvPatchField
...
@@ -99,7 +97,8 @@ calculatedFvPatchField<Type>::calculatedFvPatchField
template
<
class
Type
>
template
<
class
Type
>
template
<
class
Type2
>
template
<
class
Type2
>
tmp
<
fvPatchField
<
Type
>
>
fvPatchField
<
Type
>::
NewCalculatedType
Foam
::
tmp
<
Foam
::
fvPatchField
<
Type
>
>
Foam
::
fvPatchField
<
Type
>::
NewCalculatedType
(
(
const
fvPatchField
<
Type2
>&
pf
const
fvPatchField
<
Type2
>&
pf
)
)
...
@@ -132,7 +131,8 @@ tmp<fvPatchField<Type> > fvPatchField<Type>::NewCalculatedType
...
@@ -132,7 +131,8 @@ tmp<fvPatchField<Type> > fvPatchField<Type>::NewCalculatedType
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
template
<
class
Type
>
template
<
class
Type
>
tmp
<
Field
<
Type
>
>
calculatedFvPatchField
<
Type
>::
valueInternalCoeffs
Foam
::
tmp
<
Foam
::
Field
<
Type
>
>
Foam
::
calculatedFvPatchField
<
Type
>::
valueInternalCoeffs
(
(
const
tmp
<
scalarField
>&
const
tmp
<
scalarField
>&
)
const
)
const
...
@@ -155,7 +155,8 @@ tmp<Field<Type> > calculatedFvPatchField<Type>::valueInternalCoeffs
...
@@ -155,7 +155,8 @@ tmp<Field<Type> > calculatedFvPatchField<Type>::valueInternalCoeffs
template
<
class
Type
>
template
<
class
Type
>
tmp
<
Field
<
Type
>
>
calculatedFvPatchField
<
Type
>::
valueBoundaryCoeffs
Foam
::
tmp
<
Foam
::
Field
<
Type
>
>
Foam
::
calculatedFvPatchField
<
Type
>::
valueBoundaryCoeffs
(
(
const
tmp
<
scalarField
>&
const
tmp
<
scalarField
>&
)
const
)
const
...
@@ -177,7 +178,8 @@ tmp<Field<Type> > calculatedFvPatchField<Type>::valueBoundaryCoeffs
...
@@ -177,7 +178,8 @@ tmp<Field<Type> > calculatedFvPatchField<Type>::valueBoundaryCoeffs
}
}
template
<
class
Type
>
template
<
class
Type
>
tmp
<
Field
<
Type
>
>
calculatedFvPatchField
<
Type
>::
gradientInternalCoeffs
()
const
Foam
::
tmp
<
Foam
::
Field
<
Type
>
>
Foam
::
calculatedFvPatchField
<
Type
>::
gradientInternalCoeffs
()
const
{
{
FatalErrorIn
FatalErrorIn
(
(
...
@@ -197,7 +199,8 @@ tmp<Field<Type> > calculatedFvPatchField<Type>::gradientInternalCoeffs() const
...
@@ -197,7 +199,8 @@ tmp<Field<Type> > calculatedFvPatchField<Type>::gradientInternalCoeffs() const
}
}
template
<
class
Type
>
template
<
class
Type
>
tmp
<
Field
<
Type
>
>
calculatedFvPatchField
<
Type
>::
gradientBoundaryCoeffs
()
const
Foam
::
tmp
<
Foam
::
Field
<
Type
>
>
Foam
::
calculatedFvPatchField
<
Type
>::
gradientBoundaryCoeffs
()
const
{
{
FatalErrorIn
FatalErrorIn
(
(
...
@@ -217,17 +220,12 @@ tmp<Field<Type> > calculatedFvPatchField<Type>::gradientBoundaryCoeffs() const
...
@@ -217,17 +220,12 @@ tmp<Field<Type> > calculatedFvPatchField<Type>::gradientBoundaryCoeffs() const
}
}
// Write
template
<
class
Type
>
template
<
class
Type
>
void
calculatedFvPatchField
<
Type
>::
write
(
Ostream
&
os
)
const
void
Foam
::
calculatedFvPatchField
<
Type
>::
write
(
Ostream
&
os
)
const
{
{
fvPatchField
<
Type
>::
write
(
os
);
fvPatchField
<
Type
>::
write
(
os
);
this
->
writeEntry
(
"value"
,
os
);
this
->
writeEntry
(
"value"
,
os
);
}
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
}
// End namespace Foam
// ************************************************************************* //
// ************************************************************************* //
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