39template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
62template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
85template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
89 const GeometricField<tensor, PatchField, GeoMesh>& rot,
90 const GeometricField<Type, PatchField, GeoMesh>&
fld
93 auto tresult = tmp<GeometricField<Type, PatchField, GeoMesh>>::New
97 "transform(" + rot.name() +
',' +
fld.name() +
')',
107 transform(tresult.ref(), rot,
fld);
113template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
117 const GeometricField<tensor, PatchField, GeoMesh>& rot,
118 const tmp<GeometricField<Type, PatchField, GeoMesh>>& tfld
127template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
131 const tmp<GeometricField<tensor, PatchField, GeoMesh>>& trot,
132 const GeometricField<Type, PatchField, GeoMesh>&
fld
141template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
145 const tmp<GeometricField<tensor, PatchField, GeoMesh>>& trot,
146 const tmp<GeometricField<Type, PatchField, GeoMesh>>& tfld
149 auto tresult =
transform(trot(), tfld());
156template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
160 const dimensionedTensor& rot,
161 const GeometricField<Type, PatchField, GeoMesh>&
fld
164 auto tresult = tmp<GeometricField<Type, PatchField, GeoMesh>>::New
168 "transform(" + rot.name() +
',' +
fld.name() +
')',
184template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
188 const dimensionedTensor& rot,
189 const tmp<GeometricField<Type, PatchField, GeoMesh>>& tfld
200template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
223template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
246template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
250 const GeometricField<tensor, PatchField, GeoMesh>& rot,
251 const GeometricField<Type, PatchField, GeoMesh>&
fld
254 auto tresult = tmp<GeometricField<Type, PatchField, GeoMesh>>::New
258 "invTransform(" + rot.name() +
',' +
fld.name() +
')',
268 invTransform(tresult.ref(), rot,
fld);
274template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
278 const GeometricField<tensor, PatchField, GeoMesh>& rot,
279 const tmp<GeometricField<Type, PatchField, GeoMesh>>& tfld
288template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
292 const tmp<GeometricField<tensor, PatchField, GeoMesh>>& trot,
293 const GeometricField<Type, PatchField, GeoMesh>&
fld
302template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
306 const tmp<GeometricField<tensor, PatchField, GeoMesh>>& trot,
307 const tmp<GeometricField<Type, PatchField, GeoMesh>>& tfld
317template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
321 const dimensionedTensor& rot,
322 const GeometricField<Type, PatchField, GeoMesh>&
fld
325 auto tresult = tmp<GeometricField<Type, PatchField, GeoMesh>>::New
329 "invTransform(" + rot.name() +
',' +
fld.name() +
')',
345template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
349 const dimensionedTensor& rot,
350 const tmp<GeometricField<Type, PatchField, GeoMesh>>& tfld
Info<< nl<< "Wrote faMesh in vtk format: "<< writer.output().name()<< nl;}{ vtk::lineWriter writer(aMesh.points(), aMesh.edges(), fileName(aMesh.mesh().time().globalPath()/"finiteArea-edges"));writer.writeGeometry();writer.beginCellData(4);writer.writeProcIDs();{ Field< scalar > fld(faMeshTools::flattenEdgeField(aMesh.magLe(), true))
Generic GeometricField class.
const Internal::FieldType & primitiveField() const
Return a const-reference to the internal field.
Internal::FieldType & primitiveFieldRef(const bool updateAccessTime=true)
Return a reference to the internal field.
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
Generic dimensioned Type class.
const Type & value() const
Return const reference to value.
A class for managing temporary objects.
dimensionSet invTransform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.