mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Consistency updates after Foundation merge and code tidying
This commit is contained in:
@ -59,13 +59,13 @@ void Foam::correctedCellVolumeWeightMethod::calculateAddressing
|
||||
label srcCellI = srcSeedI;
|
||||
label tgtCellI = tgtSeedI;
|
||||
|
||||
List<DynamicList<label> > srcToTgtAddr(src_.nCells());
|
||||
List<DynamicList<scalar> > srcToTgtWght(src_.nCells());
|
||||
List<DynamicList<point> > srcToTgtVec(src_.nCells());
|
||||
List<DynamicList<label>> srcToTgtAddr(src_.nCells());
|
||||
List<DynamicList<scalar>> srcToTgtWght(src_.nCells());
|
||||
List<DynamicList<point>> srcToTgtVec(src_.nCells());
|
||||
|
||||
List<DynamicList<label> > tgtToSrcAddr(tgt_.nCells());
|
||||
List<DynamicList<scalar> > tgtToSrcWght(tgt_.nCells());
|
||||
List<DynamicList<point> > tgtToSrcVec(tgt_.nCells());
|
||||
List<DynamicList<label>> tgtToSrcAddr(tgt_.nCells());
|
||||
List<DynamicList<scalar>> tgtToSrcWght(tgt_.nCells());
|
||||
List<DynamicList<point>> tgtToSrcVec(tgt_.nCells());
|
||||
|
||||
// list of tgt cell neighbour cells
|
||||
DynamicList<label> nbrTgtCells(10);
|
||||
|
||||
@ -533,7 +533,7 @@ void Foam::meshToMesh::mapAndOpSrcToTgt
|
||||
const CombineOp& cop
|
||||
) const
|
||||
{
|
||||
tgtField = pTraits<Type>::zero;
|
||||
tgtField = Type(Zero);
|
||||
|
||||
AMI.interpolateToTarget
|
||||
(
|
||||
@ -569,7 +569,7 @@ void Foam::meshToMesh::mapSrcToTgt
|
||||
|
||||
|
||||
// Clone and map (since rmap does not do general mapping)
|
||||
tmp<fvPatchField<Type> > tnewTgt
|
||||
tmp<fvPatchField<Type>> tnewTgt
|
||||
(
|
||||
fvPatchField<Type>::New
|
||||
(
|
||||
@ -728,7 +728,7 @@ template<class Type>
|
||||
Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh>>
|
||||
Foam::meshToMesh::mapSrcToTgt
|
||||
(
|
||||
const tmp<GeometricField<Type, fvPatchField, volMesh> >& tfield,
|
||||
const tmp<GeometricField<Type, fvPatchField, volMesh>>& tfield,
|
||||
const bool secondOrder
|
||||
) const
|
||||
{
|
||||
@ -771,7 +771,7 @@ void Foam::meshToMesh::mapAndOpTgtToSrc
|
||||
const CombineOp& cop
|
||||
) const
|
||||
{
|
||||
srcField = pTraits<Type>::zero;
|
||||
srcField = Type(Tero);
|
||||
|
||||
AMI.interpolateToSource
|
||||
(
|
||||
@ -806,7 +806,7 @@ void Foam::meshToMesh::mapTgtToSrc
|
||||
const fvPatchField<Type>& tgtField = field.boundaryField()[tgtPatchI];
|
||||
|
||||
// Clone and map (since rmap does not do general mapping)
|
||||
tmp<fvPatchField<Type> > tnewSrc
|
||||
tmp<fvPatchField<Type>> tnewSrc
|
||||
(
|
||||
fvPatchField<Type>::New
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user