timeVaryingMappedFixedValueFvPatchField: Corrected rmap of the timeVaryingMappedFvPatchField
This commit is contained in:
@ -129,7 +129,14 @@ void Foam::timeVaryingMappedFixedValueFvPatchField<Type>::rmap
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
fixedValueFvPatchField<Type>::rmap(ptf, addr);
|
fixedValueFvPatchField<Type>::rmap(ptf, addr);
|
||||||
fieldMapper_.rmap(ptf, addr);
|
fieldMapper_.rmap
|
||||||
|
(
|
||||||
|
refCast
|
||||||
|
<
|
||||||
|
const timeVaryingMappedFixedValueFvPatchField<Type>
|
||||||
|
>(ptf).fieldMapper_,
|
||||||
|
addr
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -402,13 +402,10 @@ void Foam::timeVaryingMappedFvPatchField<Type>::autoMap
|
|||||||
template<class Type>
|
template<class Type>
|
||||||
void Foam::timeVaryingMappedFvPatchField<Type>::rmap
|
void Foam::timeVaryingMappedFvPatchField<Type>::rmap
|
||||||
(
|
(
|
||||||
const fvPatchField<Type>& ptf,
|
const timeVaryingMappedFvPatchField<Type>& tiptf,
|
||||||
const labelList& addr
|
const labelList& addr
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
const timeVaryingMappedFvPatchField<Type>& tiptf =
|
|
||||||
refCast<const timeVaryingMappedFvPatchField<Type>>(ptf);
|
|
||||||
|
|
||||||
startSampledValues_.rmap(tiptf.startSampledValues_, addr);
|
startSampledValues_.rmap(tiptf.startSampledValues_, addr);
|
||||||
endSampledValues_.rmap(tiptf.endSampledValues_, addr);
|
endSampledValues_.rmap(tiptf.endSampledValues_, addr);
|
||||||
|
|
||||||
|
|||||||
@ -218,8 +218,13 @@ public:
|
|||||||
//- Map (and resize as needed) from self given a mapping object
|
//- Map (and resize as needed) from self given a mapping object
|
||||||
void autoMap(const fvPatchFieldMapper&);
|
void autoMap(const fvPatchFieldMapper&);
|
||||||
|
|
||||||
//- Reverse map the given fvPatchField onto this fvPatchField
|
//- Reverse map the given timeVaryingMappedFvPatchField
|
||||||
void rmap(const fvPatchField<Type>&, const labelList&);
|
// onto this timeVaryingMappedFvPatchField
|
||||||
|
void rmap
|
||||||
|
(
|
||||||
|
const timeVaryingMappedFvPatchField<Type>&,
|
||||||
|
const labelList&
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
// Evaluation functions
|
// Evaluation functions
|
||||||
|
|||||||
Reference in New Issue
Block a user