ENH: Consistency updates after Foundation merge and code tidying

This commit is contained in:
Andrew Heather
2016-04-25 16:46:56 +01:00
parent d3157ac905
commit b9313ef2fe
242 changed files with 923 additions and 1080 deletions

View File

@ -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);

View File

@ -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
(