mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: orientedFields - updated mapping and parallel utils
This commit is contained in:
@ -66,7 +66,7 @@ Foam::parFvFieldReconstructor::reconstructFvVolumeInternalField
|
||||
IOobject::NO_WRITE
|
||||
);
|
||||
|
||||
return tmp<DimensionedField<Type, volMesh>>
|
||||
tmp<DimensionedField<Type, volMesh>> tfield
|
||||
(
|
||||
new DimensionedField<Type, volMesh>
|
||||
(
|
||||
@ -76,6 +76,10 @@ Foam::parFvFieldReconstructor::reconstructFvVolumeInternalField
|
||||
internalField
|
||||
)
|
||||
);
|
||||
|
||||
tfield.ref().oriented() = fld.oriented();
|
||||
|
||||
return tfield;
|
||||
}
|
||||
|
||||
|
||||
@ -209,7 +213,7 @@ Foam::parFvFieldReconstructor::reconstructFvVolumeField
|
||||
IOobject::NO_WRITE
|
||||
);
|
||||
|
||||
return tmp<GeometricField<Type, fvPatchField, volMesh>>
|
||||
tmp<GeometricField<Type, fvPatchField, volMesh>> tfield
|
||||
(
|
||||
new GeometricField<Type, fvPatchField, volMesh>
|
||||
(
|
||||
@ -220,6 +224,10 @@ Foam::parFvFieldReconstructor::reconstructFvVolumeField
|
||||
basePatchFields
|
||||
)
|
||||
);
|
||||
|
||||
tfield.ref().oriented()= fld.oriented();
|
||||
|
||||
return tfield;
|
||||
}
|
||||
|
||||
|
||||
@ -372,7 +380,7 @@ Foam::parFvFieldReconstructor::reconstructFvSurfaceField
|
||||
IOobject::NO_WRITE
|
||||
);
|
||||
|
||||
return tmp<GeometricField<Type, fvsPatchField, surfaceMesh>>
|
||||
tmp<GeometricField<Type, fvsPatchField, surfaceMesh>> tfield
|
||||
(
|
||||
new GeometricField<Type, fvsPatchField, surfaceMesh>
|
||||
(
|
||||
@ -383,6 +391,10 @@ Foam::parFvFieldReconstructor::reconstructFvSurfaceField
|
||||
basePatchFields
|
||||
)
|
||||
);
|
||||
|
||||
tfield.ref().oriented() = fld.oriented();
|
||||
|
||||
return tfield;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user