Skip to content
GitLab
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
3dec6f01
Commit
3dec6f01
authored
Nov 07, 2013
by
Henry
Browse files
pointPatchField: Correct mapping so that the patchType entry in the base-class is mapped
parent
bc2d925d
Changes
9
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/fields/pointPatchFields/basic/basicSymmetry/basicSymmetryPointPatchField.C
View file @
3dec6f01
...
...
@@ -59,10 +59,10 @@ Foam::basicSymmetryPointPatchField<Type>::basicSymmetryPointPatchField
const
basicSymmetryPointPatchField
<
Type
>&
ptf
,
const
pointPatch
&
p
,
const
DimensionedField
<
Type
,
pointMesh
>&
iF
,
const
pointPatchFieldMapper
&
const
pointPatchFieldMapper
&
mapper
)
:
pointPatchField
<
Type
>
(
p
,
iF
)
pointPatchField
<
Type
>
(
p
tf
,
p
,
iF
,
mapper
)
{}
...
...
src/OpenFOAM/fields/pointPatchFields/basic/calculated/calculatedPointPatchField.C
View file @
3dec6f01
...
...
@@ -68,10 +68,10 @@ calculatedPointPatchField<Type>::calculatedPointPatchField
const
calculatedPointPatchField
<
Type
>&
ptf
,
const
pointPatch
&
p
,
const
DimensionedField
<
Type
,
pointMesh
>&
iF
,
const
pointPatchFieldMapper
&
const
pointPatchFieldMapper
&
mapper
)
:
pointPatchField
<
Type
>
(
p
,
iF
)
pointPatchField
<
Type
>
(
p
tf
,
p
,
iF
,
mapper
)
{}
...
...
src/OpenFOAM/fields/pointPatchFields/basic/coupled/coupledPointPatchField.C
View file @
3dec6f01
...
...
@@ -61,10 +61,10 @@ coupledPointPatchField<Type>::coupledPointPatchField
const
coupledPointPatchField
<
Type
>&
ptf
,
const
pointPatch
&
p
,
const
DimensionedField
<
Type
,
pointMesh
>&
iF
,
const
pointPatchFieldMapper
&
const
pointPatchFieldMapper
&
mapper
)
:
pointPatchField
<
Type
>
(
p
,
iF
)
pointPatchField
<
Type
>
(
p
tf
,
p
,
iF
,
mapper
)
{}
...
...
src/OpenFOAM/fields/pointPatchFields/basic/value/valuePointPatchField.C
View file @
3dec6f01
...
...
@@ -108,7 +108,7 @@ Foam::valuePointPatchField<Type>::valuePointPatchField
const
pointPatchFieldMapper
&
mapper
)
:
pointPatchField
<
Type
>
(
p
,
iF
),
pointPatchField
<
Type
>
(
p
tf
,
p
,
iF
,
mapper
),
Field
<
Type
>
(
ptf
,
mapper
)
{}
...
...
src/OpenFOAM/fields/pointPatchFields/basic/zeroGradient/zeroGradientPointPatchField.C
View file @
3dec6f01
...
...
@@ -61,10 +61,10 @@ zeroGradientPointPatchField<Type>::zeroGradientPointPatchField
const
zeroGradientPointPatchField
<
Type
>&
ptf
,
const
pointPatch
&
p
,
const
DimensionedField
<
Type
,
pointMesh
>&
iF
,
const
pointPatchFieldMapper
&
const
pointPatchFieldMapper
&
mapper
)
:
pointPatchField
<
Type
>
(
p
,
iF
)
pointPatchField
<
Type
>
(
p
tf
,
p
,
iF
,
mapper
)
{}
...
...
src/OpenFOAM/fields/pointPatchFields/constraint/empty/emptyPointPatchField.C
View file @
3dec6f01
...
...
@@ -77,10 +77,10 @@ emptyPointPatchField<Type>::emptyPointPatchField
const
emptyPointPatchField
<
Type
>&
ptf
,
const
pointPatch
&
p
,
const
DimensionedField
<
Type
,
pointMesh
>&
iF
,
const
pointPatchFieldMapper
&
const
pointPatchFieldMapper
&
mapper
)
:
pointPatchField
<
Type
>
(
p
,
iF
)
pointPatchField
<
Type
>
(
p
tf
,
p
,
iF
,
mapper
)
{
if
(
!
isType
<
emptyPointPatch
>
(
this
->
patch
()))
{
...
...
src/OpenFOAM/fields/pointPatchFields/constraint/wedge/wedgePointPatchField.C
View file @
3dec6f01
...
...
@@ -74,10 +74,10 @@ Foam::wedgePointPatchField<Type>::wedgePointPatchField
const
wedgePointPatchField
<
Type
>&
ptf
,
const
pointPatch
&
p
,
const
DimensionedField
<
Type
,
pointMesh
>&
iF
,
const
pointPatchFieldMapper
&
const
pointPatchFieldMapper
&
mapper
)
:
pointPatchField
<
Type
>
(
p
,
iF
)
pointPatchField
<
Type
>
(
p
tf
,
p
,
iF
,
mapper
)
{
if
(
!
isType
<
wedgePointPatch
>
(
this
->
patch
()))
{
...
...
src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.C
View file @
3dec6f01
...
...
@@ -63,6 +63,22 @@ pointPatchField<Type>::pointPatchField
{}
template
<
class
Type
>
Foam
::
pointPatchField
<
Type
>::
pointPatchField
(
const
pointPatchField
<
Type
>&
ptf
,
const
pointPatch
&
p
,
const
DimensionedField
<
Type
,
pointMesh
>&
iF
,
const
pointPatchFieldMapper
&
)
:
patch_
(
p
),
internalField_
(
iF
),
updated_
(
false
),
patchType_
(
ptf
.
patchType_
)
{}
template
<
class
Type
>
pointPatchField
<
Type
>::
pointPatchField
(
...
...
src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.H
View file @
3dec6f01
...
...
@@ -167,6 +167,15 @@ public:
const
dictionary
&
);
//- Construct by mapping given patchField<Type> onto a new patch
pointPatchField
(
const
pointPatchField
<
Type
>&
,
const
pointPatch
&
,
const
DimensionedField
<
Type
,
pointMesh
>&
,
const
pointPatchFieldMapper
&
);
//- Construct as copy
pointPatchField
(
const
pointPatchField
<
Type
>&
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment