- Generic Geometric field mapper. For "real" mapping, add template specialisations for mapping of internal fields depending on mesh type.
| 46 | // For "real" mapping, add template specialisations for mapping of internal |
| 47 | // fields depending on mesh type. |
| 48 | inline 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 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // |