fvMeshTopoChangers::meshToMesh: Added support for changes in decomposition between meshes
If the sequence of meshes are decomposed independently the number, order and potentially type of processor patches is likely to change. Thus the processor patches and patch fields must be replaced with those of the new mesh.
This commit is contained in:
@ -169,6 +169,21 @@ void Foam::CLASS::rmap
|
||||
}
|
||||
|
||||
|
||||
template<class Type>
|
||||
void Foam::CLASS::reset
|
||||
(
|
||||
const FVPATCHF& ptf
|
||||
)
|
||||
{
|
||||
PARENT::reset(ptf);
|
||||
|
||||
const CLASS& tiptf =
|
||||
refCast<const CLASS>(ptf);
|
||||
|
||||
fieldData_.reset(tiptf.fieldData_);
|
||||
}
|
||||
|
||||
|
||||
template<class Type>
|
||||
void Foam::CLASS::updateCoeffs()
|
||||
{
|
||||
|
||||
@ -199,6 +199,10 @@ public:
|
||||
// Used to reconstruct fields
|
||||
virtual void rmap(const FVPATCHF&, const labelList&);
|
||||
|
||||
//- Reset the fvPatchField to the given fvPatchField
|
||||
// Used for mesh to mesh mapping
|
||||
virtual void reset(const FVPATCHF&);
|
||||
|
||||
|
||||
// Evaluation functions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user