Skip to content
Snippets Groups Projects
Commit 6bfe2e60 authored by Nicolas Marsic's avatar Nicolas Marsic
Browse files

Writer

parent f2dedb9e
No related branches found
No related tags found
No related merge requests found
......@@ -13,21 +13,25 @@
#include "HexEdgeBasis.h"
#include "PlotBasis.h"
#include "WriterMsh.h"
using namespace std;
int basisTest(int argc, char** argv){
int main(int argc, char** argv){
// Init Gmsh //
GmshInitialize(argc, argv);
// Get Mesh //
Mesh msh(argv[1]);
// Writer for .msh
WriterMsh writer(msh.getGroup(2).getAll());
// Plot Basis //
TriEdgeBasis b(5);
PlotBasis plot(msh.getGroup(2), b);
plot.write("basis");
PlotBasis plot(msh.getGroup(2), b, writer);
plot.plot("basis");
// Stop Gmsh //
GmshFinalize();
......
......@@ -10,8 +10,8 @@ set(SRC
Basis.cpp
BasisScalar.cpp
BasisVector.cpp
BasisTest.cpp
BasisGenerator.cpp
BasisTest.cpp
QuadNodeBasis.cpp
QuadEdgeBasis.cpp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment