Commit bccb80f7 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

ArhWriter extended

parent d3ed6708
...@@ -55,6 +55,21 @@ namespace AMDiS { ...@@ -55,6 +55,21 @@ namespace AMDiS {
write(filename, vec0.getFeSpace()->getMesh(), &vec0); write(filename, vec0.getFeSpace()->getMesh(), &vec0);
} }
static void writeFile(SystemVector *vec,
std::string filename)
std::vector<DOFVector<double>*> vecs;
for (int i = 0; i < vec->getSize(); i++)
write(filename, vecs[0]->getFeSpace()->getMesh(), vecs);
static void writeFile(std::vector<DOFVector<double>*> vecs,
std::string filename)
write(filename, vecs[0]->getFeSpace()->getMesh(), vecs);
protected: protected:
static void writeMacroElement(std::ofstream &file, static void writeMacroElement(std::ofstream &file,
MeshStructure &code, MeshStructure &code,
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