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

pretty print
parent 70a23eb4
No related branches found
No related tags found
No related merge requests found
...@@ -139,9 +139,14 @@ class GModel ...@@ -139,9 +139,14 @@ class GModel
virtual std::set<int> &getMeshPartitions() { return meshPartitions; } virtual std::set<int> &getMeshPartitions() { return meshPartitions; }
virtual std::set<int> &recomputeMeshPartitions(); virtual std::set<int> &recomputeMeshPartitions();
// deletes all the partitions // Deletes all the partitions
virtual void deleteMeshPartitions(); virtual void deleteMeshPartitions();
// Get or set the global mesh size for the model (default value is a
// tenth of the size of the domain)
double getMeshSize();
void setMeshSize(const double s) {meshSize = s;}
// A container for smooth normals // A container for smooth normals
smooth_normals *normals; smooth_normals *normals;
...@@ -162,7 +167,6 @@ class GModel ...@@ -162,7 +167,6 @@ class GModel
int readOCCSTEP(const std::string &name); int readOCCSTEP(const std::string &name);
void deleleOCCInternals(); void deleleOCCInternals();
// Mesh IO // Mesh IO
// ========================================= // =========================================
...@@ -195,15 +199,9 @@ class GModel ...@@ -195,15 +199,9 @@ class GModel
int writeBDF(const std::string &name, int format=0, bool saveAll=false, int writeBDF(const std::string &name, int format=0, bool saveAll=false,
double scalingFactor=1.0); double scalingFactor=1.0);
// IO for CGNS files // CFD General Notation System files
int readCGNS(const std::string &name); int readCGNS(const std::string &name);
int writeCGNS(const std::string &name, double scalingFactor=1.0); int writeCGNS(const std::string &name, double scalingFactor=1.0);
// returns the global mesh size for the model
// default value is a tenth of the size of the domain
double getMeshSize () ;
void setMeshSize (const double s) {meshSize = s;}
}; };
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment