Skip to content
Snippets Groups Projects
Commit ea15aa98 authored by Éric Béchet's avatar Éric Béchet
Browse files

erreur boris

parent 4abfe211
Branches
Tags
No related merge requests found
# pour boris: # pour boris:
include(/home/boris/MyGmshProjects/CMakeLists.txt) ## boris cela ne marche que si le fichier est dans SVN ...
#include(/home/boris/MyGmshProjects/CMakeLists.txt)
# tests pour eric et christophe: # tests pour eric et christophe:
list(APPEND EXTERNAL_INCLUDES contrib/arc) list(APPEND EXTERNAL_INCLUDES contrib/arc)
add_executable(elastic EXCLUDE_FROM_ALL contrib/arc/mainElasticity.cpp ${GMSH_SRC}) add_executable(elastic EXCLUDE_FROM_ALL contrib/arc/mainElasticity.cpp ${GMSH_SRC})
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include "highlevel.h" #include "highlevel.h"
#include "groupOfElements.h" #include "groupOfElements.h"
#include <iterator> #include <iterator>
int main (int argc, char* argv[]) int main (int argc, char* argv[])
{ {
...@@ -29,6 +30,11 @@ int main (int argc, char* argv[]) ...@@ -29,6 +30,11 @@ int main (int argc, char* argv[])
PView *pv = mySolver.buildDisplacementView("displacement"); PView *pv = mySolver.buildDisplacementView("displacement");
pv->getData()->writeMSH("disp.msh", false); pv->getData()->writeMSH("disp.msh", false);
delete pv; delete pv;
pv = mySolver.buildElasticEnergyView("elastic energy");
pv->getData()->writeMSH("energ.msh", false);
delete pv;
// stop gmsh // stop gmsh
GmshFinalize(); GmshFinalize();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment