Liebe Gitlab-Nutzer, lieber Gitlab-Nutzer, es ist nun möglich sich mittels des ZIH-Logins/LDAP an unserem Dienst anzumelden. Ein Anmelden über dieses erzeugt ein neues Konto. Das alte Konto ist über den Reiter "Standard" erreichbar. Die Administratoren

Dear Gitlab user, it is now possible to log in to our service using the ZIH login/LDAP. Logging in via this will create a new account. The old account can be accessed via the "Standard" tab. The administrators

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,
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