MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / mapClouds

Function mapClouds

src/OpenFOAM/fields/cloud/mapClouds.H:48–63  ·  view source on GitHub ↗

- Generic Geometric field mapper. For "real" mapping, add template specialisations for mapping of internal fields depending on mesh type.

Source from the content-addressed store, hash-verified

46// For "real" mapping, add template specialisations for mapping of internal
47// fields depending on mesh type.
48inline void mapClouds(const objectRegistry& db, const mapPolyMesh& mapper)
49{
50 HashTable<const cloud*> clouds(db.lookupClass<cloud>());
51
52 forAllIter(HashTable<const cloud*>, clouds, iter)
53 {
54 cloud& c = const_cast<cloud&>(*iter());
55
56 if (polyMesh::debug)
57 {
58 Info<< "Mapping cloud " << c.name() << endl;
59 }
60
61 c.autoMap(mapper);
62 }
63}
64
65
66// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

Callers 1

mapFieldsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected