OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
XFEMDebugTools.h
Go to the documentation of this file.
1 /*
2  * XFEMDebugTools.h
3  *
4  * Created on: Jun 5, 2013
5  * Author: svennine
6  */
7 
8 #ifndef XFEMDEBUGTOOLS_H_
9 #define XFEMDEBUGTOOLS_H_
10 
11 #include "oofemcfg.h"
12 #include "geometry.h"
13 
14 #include <fstream>
15 
16 namespace oofem {
17 class OOFEM_EXPORT XFEMDebugTools
18 {
19 public:
21  virtual ~XFEMDebugTools();
22 
23  static void WriteTrianglesToVTK(const std :: string &iName, const std :: vector< Triangle > &iTriangles);
24  static void WritePointsToVTK(const std :: string &iName, const std :: vector< FloatArray > &iPoints);
25 
26  static void WriteArrayToMatlab(const std :: string &iName, const std :: vector< double > &iX, const std :: vector< double > &iY);
27  static void WriteArrayToGnuplot(const std :: string &iName, const std :: vector< double > &iX, const std :: vector< double > &iY);
28 };
29 } /* namespace oofem */
30 #endif /* XFEMDEBUGTOOLS_H_ */
the oofem namespace is to define a context or scope in which all oofem names are defined.

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:32 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011