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);
|
||||
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>
|
||||
void Foam::timeVaryingMappedFvPatchField<Type>::rmap
|
||||
(
|
||||
const fvPatchField<Type>& ptf,
|
||||
const timeVaryingMappedFvPatchField<Type>& tiptf,
|
||||
const labelList& addr
|
||||
)
|
||||
{
|
||||
const timeVaryingMappedFvPatchField<Type>& tiptf =
|
||||
refCast<const timeVaryingMappedFvPatchField<Type>>(ptf);
|
||||
|
||||
startSampledValues_.rmap(tiptf.startSampledValues_, addr);
|
||||
endSampledValues_.rmap(tiptf.endSampledValues_, addr);
|
||||
|
||||
|
||||
@ -218,8 +218,13 @@ public:
|
||||
//- Map (and resize as needed) from self given a mapping object
|
||||
void autoMap(const fvPatchFieldMapper&);
|
||||
|
||||
//- Reverse map the given fvPatchField onto this fvPatchField
|
||||
void rmap(const fvPatchField<Type>&, const labelList&);
|
||||
//- Reverse map the given timeVaryingMappedFvPatchField
|
||||
// onto this timeVaryingMappedFvPatchField
|
||||
void rmap
|
||||
(
|
||||
const timeVaryingMappedFvPatchField<Type>&,
|
||||
const labelList&
|
||||
);
|
||||
|
||||
|
||||
// Evaluation functions
|
||||
|
||||
Reference in New Issue
Block a user