62class mapAddedPolyMesh;
84 const label unmappedIndex
89 static void MapVolField
95 const bool fullyMapped
100 static void MapSurfaceField
106 const bool fullyMapped
111 static void MapDimField
133 const bool validBoundary =
true,
134 const bool fullyMapped =
false
147 const bool fullyMapped =
false
157 const bool fullyMapped =
false
193 static void MapDimField
197 const bool fullyMapped
202 static void MapVolField
210 const bool fullyMapped
215 static void MapSurfaceField
224 const bool fullyMapped
237 const bool fullyMapped =
false
254 const bool fullyMapped =
false
269 const bool fullyMapped =
false
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))
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricField class.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Container for information needed to couple to meshes. When constructed from two meshes and a geometri...
Adds two fvMeshes without using any polyMesh morphing. Uses polyMeshAdder.
static void MapSurfaceFields(const mapAddedPolyMesh &, const fvMesh &mesh, const fvMesh &meshToAdd, const bool fullyMapped=false)
Map all surfaceFields of Type.
static autoPtr< mapAddedPolyMesh > add(fvMesh &mesh0, const fvMesh &mesh1, const faceCoupleInfo &coupleInfo, const bool validBoundary=true, const bool fullyMapped=false)
Inplace add mesh to fvMesh. Maps all stored fields. Returns map.
static void MapDimFields(const mapAddedPolyMesh &, const fvMesh &mesh, const fvMesh &meshToAdd)
Map all DimensionedFields of Type.
static void MapVolFields(const mapAddedPolyMesh &, const fvMesh &mesh, const fvMesh &meshToAdd, const bool fullyMapped=false)
Map all volFields of Type.
Mesh data needed to do the Finite Volume discretisation.
Class containing mesh-to-mesh mapping information after a mesh addition where we add a mesh ('added m...
Adds two meshes without using any polyMesh morphing.
A patch is a list of labels that address the faces in the global face list.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
Foam::PtrList< Foam::fvMesh > meshes(regionNames.size())