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

ArhWriter extended

parent d3ed6708
......@@ -55,6 +55,21 @@ namespace AMDiS {
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++)
vecs.push_back(vec->getDOFVector(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:
static void writeMacroElement(std::ofstream &file,
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