Commit 41220723 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Fixed small bug for serialization of mesh in parallel code.

parent 5d788954
......@@ -995,6 +995,10 @@ namespace AMDiS {
node.serialize(out);
#ifdef HAVE_PARALLEL_DOMAIN_AMDIS
SerUtil::serialize(out, nParallelPreRefinements);
#endif
// === Write admins. ===
......@@ -1078,6 +1082,10 @@ namespace AMDiS {
node.deserialize(in);
#ifdef HAVE_PARALLEL_DOMAIN_AMDIS
SerUtil::deserialize(in, nParallelPreRefinements);
#endif
// === Read admins. ===
......
......@@ -717,12 +717,6 @@ namespace AMDiS {
void checkParallelMacroFile(std::string &macroFilename,
std::string &periodicFilename,
int check);
/// Returns \ref nParallelPreRefinements
int getParallelPreRefinements() const
{
return nParallelPreRefinements;
}
#endif
protected:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment