38 void Foam::setUpdater::updateSets(
const mapPolyMesh& morphMap)
const 44 HashTable<const Type*> memSets =
45 morphMap.mesh().objectRegistry::lookupClass<Type>();
49 Type&
set =
const_cast<Type&
>(*iter());
52 <<
"Set:" <<
set.name() <<
" size:" <<
set.size()
53 <<
" updated in memory" <<
endl;
55 set.updateMesh(morphMap);
69 morphMap.mesh().time(),
70 morphMap.mesh().facesInstance(),
74 IOobjectList fileSets(objs.lookupClass<Type>());
78 if (!memSets.found(iter.key()))
85 Pout<<
"Set:" <<
set.
name() <<
" size:" <<
set.size()
86 <<
" updated on disk" <<
endl;
89 set.updateMesh(morphMap);
96 <<
"Set:" << iter.key() <<
" already updated from memory" virtual const fileName & name() const
Get the name of the output serial stream. (eg, the name of the Fstream file name) ...
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define forAllIters(container, iter)
Iterate across all elements in the container object.
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
int debug
Static debugging option.
#define DebugPout
Report an information message using Foam::Pout.
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.
forAllConstIters(mixture.phases(), phase)