-// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023 CEA, EDF, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
#include <string>
-class NETGENPlugin_Hypothesis;
-class StdMeshers_MaxElementVolume;
-class StdMeshers_ViscousLayers;
-
struct netgen_params{
// Params from NETGENPlugin_Mesher
// True if _hypParameters is not null
bool checkchartboundary;
int closeedgefac;
+ // Number of threads for the mesher
+ int nbThreads;
- // TODO: add localsize (pass through local size file ?)
// True if we have a mesh size file or local size info
bool has_local_size = false;
std::string meshsizefilename;
bool has_maxelementvolume_hyp=false;
double maxElementVolume=0.0;
- // to replace
- //NETGENPlugin_Hypothesis * _hypParameters=nullptr;
- // to remove ?
- StdMeshers_MaxElementVolume* _hypMaxElementVolume=nullptr;
- // to remove ?
- StdMeshers_ViscousLayers* _viscousLayersHyp=nullptr;
- //double _progressByTic;
- bool _quadraticMesh=false;
-
// Params from NETGEN2D
bool has_LengthFromEdges_hyp=false;
- // Number of threads for the mesher
- int nbThreads;
};
void printNetgenParams(netgen_params& aParams);
void importNetgenParams(const std::string param_file, netgen_params& aParams);
void exportNetgenParams(const std::string param_file, netgen_params& aParams);
-bool diffNetgenParams(netgen_params params1, netgen_params params2);
-
-#endif
\ No newline at end of file
+#endif