34 #ifndef MapDimensionedFields_H 35 #define MapDimensionedFields_H 45 template<
class Type,
class MeshMapper,
class GeoMesh>
53 mapper.thisDb().template csorted<FieldType, true>()
58 FieldType&
field =
const_cast<FieldType&
>(
fld);
60 if (&
field.mesh() == &mapper.mesh())
65 << FieldType::typeName <<
' ' <<
field.name() <<
endl;
75 << FieldType::typeName <<
' ' <<
field.name()
76 <<
" since originating mesh differs from that of mapper."
void MapDimensionedFields(const MeshMapper &mapper)
Ostream & endl(Ostream &os)
Add newline and flush stream.
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
int debug
Static debugging option.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< ' ';}gmvFile<< nl;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
Generic internal field mapper. For "real" mapping, add template specialisations for mapping of intern...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
messageStream Info
Information stream (stdout output on master, null elsewhere)
Map volume internal field on topology change. This is a partial template specialisation, see MapGeometricFields.