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 { ...@@ -995,6 +995,10 @@ namespace AMDiS {
node.serialize(out); node.serialize(out);
#ifdef HAVE_PARALLEL_DOMAIN_AMDIS
SerUtil::serialize(out, nParallelPreRefinements);
#endif
// === Write admins. === // === Write admins. ===
...@@ -1078,6 +1082,10 @@ namespace AMDiS { ...@@ -1078,6 +1082,10 @@ namespace AMDiS {
node.deserialize(in); node.deserialize(in);
#ifdef HAVE_PARALLEL_DOMAIN_AMDIS
SerUtil::deserialize(in, nParallelPreRefinements);
#endif
// === Read admins. === // === Read admins. ===
......
...@@ -717,12 +717,6 @@ namespace AMDiS { ...@@ -717,12 +717,6 @@ namespace AMDiS {
void checkParallelMacroFile(std::string &macroFilename, void checkParallelMacroFile(std::string &macroFilename,
std::string &periodicFilename, std::string &periodicFilename,
int check); int check);
/// Returns \ref nParallelPreRefinements
int getParallelPreRefinements() const
{
return nParallelPreRefinements;
}
#endif #endif
protected: 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