Skip to content
Snippets Groups Projects
Commit bccb80f7 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

ArhWriter extended

parent d3ed6708
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment