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

consistent interface for ArhWriter

parent 6964bc0b
......@@ -27,6 +27,7 @@
#include <fstream>
#include "AMDiS_fwd.h"
#include "DOFVector.h"
namespace AMDiS {
......@@ -41,6 +42,18 @@ namespace AMDiS {
static void write(std::string filename, Mesh *mesh,
std::vector<DOFVector<double>*> vecs,
bool writeParallel = true);
static void writeFile(DOFVector<double>* vec0,
std::string filename)
write(filename, vec0->getFeSpace()->getMesh(), vec0);
static void writeFile(DOFVector<double>& vec0,
std::string filename)
write(filename, vec0.getFeSpace()->getMesh(), &vec0);
static void writeMacroElement(std::ofstream &file,
Supports Markdown
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