Skip to content
Snippets Groups Projects
Commit 34ea992c authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

missing header

parent 2f449d5f
No related branches found
No related tags found
No related merge requests found
...@@ -266,6 +266,7 @@ pluginWindow::pluginWindow(int deltaFontSize) ...@@ -266,6 +266,7 @@ pluginWindow::pluginWindow(int deltaFontSize)
Fl_Button *b = new Fl_Button(WB + L1, height - WB - BH, L2, BH, "New view"); Fl_Button *b = new Fl_Button(WB + L1, height - WB - BH, L2, BH, "New view");
b->callback(plugin_create_new_view_cb); b->callback(plugin_create_new_view_cb);
b->tooltip("Create new post-processing dataset based on current mesh");
for(std::map<std::string, GMSH_Plugin*>::iterator it = PluginManager:: for(std::map<std::string, GMSH_Plugin*>::iterator it = PluginManager::
instance()->begin(); it != PluginManager::instance()->end(); ++it) { instance()->begin(); it != PluginManager::instance()->end(); ++it) {
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#define _GMSH_MATRIX_H_ #define _GMSH_MATRIX_H_
#include <math.h> #include <math.h>
#include <stdio.h>
#include "GmshConfig.h" #include "GmshConfig.h"
#include "GmshMessage.h" #include "GmshMessage.h"
...@@ -60,15 +61,15 @@ class gmshVector ...@@ -60,15 +61,15 @@ class gmshVector
for(int i = 0; i < _r; ++i) s += _data[i]*other._data[i]; for(int i = 0; i < _r; ++i) s += _data[i]*other._data[i];
return s; return s;
} }
void print(const char * name="") const { void print(const char * name="") const
printf("Printing vector %s:\n",name); {
printf("Printing vector %s:\n", name);
printf(" "); printf(" ");
for(int I = 0; I < size(); I++){ for(int I = 0; I < size(); I++){
printf("%12.5E ",(*this)(I)); printf("%12.5E ", (*this)(I));
} }
printf("\n"); printf("\n");
} }
}; };
template <class scalar> template <class scalar>
...@@ -261,14 +262,15 @@ class gmshMatrix ...@@ -261,14 +262,15 @@ class gmshMatrix
} }
#endif #endif
; ;
void print(const char * name="") const { void print(const char * name="") const
{
printf("Printing matrix %s:\n",name); printf("Printing matrix %s:\n",name);
int ni = size1(); int ni = size1();
int nj = size2(); int nj = size2();
for(int I = 0; I < ni; I++){ for(int I = 0; I < ni; I++){
printf(" "); printf(" ");
for(int J = 0; J < nj; J++){ for(int J = 0; J < nj; J++){
printf("%12.5E ",(*this)(I, J)); printf("%12.5E ", (*this)(I, J));
} }
printf("\n"); printf("\n");
} }
......
$Id: TODO.txt,v 1.31 2009-08-17 14:27:17 geuzaine Exp $ $Id: TODO.txt,v 1.32 2009-08-22 09:16:47 geuzaine Exp $
******************************************************************** ********************************************************************
add <, >, <=, >= in MathEx add <, >, <=, >= in MathEvaluator
******************************************************************** ********************************************************************
...@@ -77,13 +77,6 @@ single associated scalar/vector or tensor value. ...@@ -77,13 +77,6 @@ single associated scalar/vector or tensor value.
******************************************************************** ********************************************************************
clarify physical names/ids : physical names are directly mapped to
integers, without the notion of dimension -> hence, some physical are
impossible to name (e.g. if Physical Line(1)={..} and Physical
Surface(1)={...});
********************************************************************
Read all the components from postpro datasets, even if > 9. Provide a Read all the components from postpro datasets, even if > 9. Provide a
"interpretation" option allowing to select which components to draw "interpretation" option allowing to select which components to draw
and to force their interpretation as scalar, vector or tensor and to force their interpretation as scalar, vector or tensor
...@@ -100,6 +93,10 @@ fix tetgen for non manifold geometries: with a single surface ...@@ -100,6 +93,10 @@ fix tetgen for non manifold geometries: with a single surface
connected to a volume and tetgen modifies the volume boundary mesh, we connected to a volume and tetgen modifies the volume boundary mesh, we
get hanging nodes get hanging nodes
Precompute non-connected volumes and apply algo to each non-connected
aggregate. This will improve mesh quality and speed for close
non-connected objects.
Also: we need to fix the 1D mesh in all cases! Also: we need to fix the 1D mesh in all cases!
******************************************************************** ********************************************************************
...@@ -108,18 +105,8 @@ Add list of recently loaded files in the GUI ...@@ -108,18 +105,8 @@ Add list of recently loaded files in the GUI
******************************************************************** ********************************************************************
add cleanup fct to remove duplicate elements in add cleanup fct to remove duplicate elements (same spirit as GModel
GModel->checkMeshCoherence ::removeDuplicateVertices)
********************************************************************
3D Delaunay: precompute non-connected volumes and apply algo to each
non-connected aggregate. This will improve mesh quality and speed for
close non-connected objects.
********************************************************************
interface duplicate entity removal from opencascade
******************************************************************** ********************************************************************
...@@ -127,10 +114,6 @@ add support for Patran mesh files ...@@ -127,10 +114,6 @@ add support for Patran mesh files
******************************************************************** ********************************************************************
interface GModel in surface creation in the parser
********************************************************************
add linear lc progression in 1D transfinite generator add linear lc progression in 1D transfinite generator
Also: implement easier to understand "bump" function (double Also: implement easier to understand "bump" function (double
...@@ -147,10 +130,6 @@ introduce Right/Left/Alternate for extruded meshes ...@@ -147,10 +130,6 @@ introduce Right/Left/Alternate for extruded meshes
******************************************************************** ********************************************************************
re-implement STL remeshing
********************************************************************
create pyramids on quad surfaces inside unstructured volume before create pyramids on quad surfaces inside unstructured volume before
tetrahedralizing (to enable hex/tet hybrid grids) tetrahedralizing (to enable hex/tet hybrid grids)
...@@ -231,10 +210,6 @@ add/restore Parametric curve type using MathEval ...@@ -231,10 +210,6 @@ add/restore Parametric curve type using MathEval
******************************************************************** ********************************************************************
add ternary operator and <,>,<=,>=,== tests in MathEval
********************************************************************
on Macs, datasets with a bounding box < 1.e-06 don't display properly on Macs, datasets with a bounding box < 1.e-06 don't display properly
(probably because all the OpenGL stuff is done internally in single (probably because all the OpenGL stuff is done internally in single
precision...). Rescale? precision...). Rescale?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment