Commit Graph

1452 Commits

Author SHA1 Message Date
eap
ddec989c2f 0021517: Bad filter dumped when hdf study from previous version of Salome is loaded
clear re-setting filters to group
2012-03-23 09:11:25 +00:00
eap
f4f14a98e3 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
In GetSourceSubMeshes(), fix getting a main sub-mesh of a not loaded mesh
2012-03-22 14:10:37 +00:00
eap
264238f852 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
loadDependentMeshes() before algo->Compute()
2012-03-22 14:09:13 +00:00
eap
3ca6b8c524 precise error messages 2012-03-22 12:42:58 +00:00
eap
c20e5a3b8e 0021468]: EDF 2073 SMESH: Body-fitting algo creates elements in hole
1)   re-fix after optimization (attempt #2)
2)   fix protection from not thread safe shapes
2012-03-22 11:54:46 +00:00
eap
16042a8750 0021468]: EDF 2073 SMESH: Body-fitting algo creates elements in hole
re-fix after optimization
2012-03-22 08:58:34 +00:00
eap
93aaa60ce3 0021517: Bad filter dumped when hdf study from previous version of Salome is loaded
+  void fixFunctorType(...)
2012-03-21 15:55:38 +00:00
gdd
51949e5059 In Extrusion dialog, the distance was troncated to the lower integer. With a distance <1, the extrusion vector size was zero. 2012-03-21 15:41:10 +00:00
eap
5ea2cc6434 0021526: EDF 1855 SMESH: Regression in the Radial Quadrangle hypothesis
fix algoCreator.__call__()
2012-03-21 10:22:32 +00:00
eap
b0b291e152 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
performance optimization using tbb
2012-03-21 09:03:12 +00:00
eap
eeb19a3f2a 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
+if WITH_TBB
+  libStdMeshers_la_CPPFLAGS += $(TBB_INCLUDES)
+  libStdMeshers_la_LDFLAGS  += $(TBB_LIBS)
+endif
2012-03-21 09:02:23 +00:00
eap
256069a7e6 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
in SMESH_TNodeXYZ use thread safe getting node coords
2012-03-21 09:02:04 +00:00
eap
a63a653731 untabify 2012-03-21 09:01:05 +00:00
eap
5c5ce5f038 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
+  void   GetXYZ(double xyx[3]) const; // thread safe getting coords
2012-03-21 09:00:38 +00:00
eap
b1255ded98 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
-  if ( !varName.isEmpty() )
+  if ( varName.isEmpty() )
2012-03-19 16:40:29 +00:00
eap
bf4cd9150f 0021522: EDF 573 SMESH: Regression in RotationSweep
-        MaxAngle,Parameters = ParseAngles(MaxAngle)
+        MaxAngle,Parameters,hasVars = ParseAngles(MaxAngle)
2012-03-19 14:55:51 +00:00
eap
6d6fc57a7f 0021521: EDF 317 SMESH: Regression in Wire_Discretisation LengthNearVertex hypotesis
+from smesh import GetName, TreatHypoStatus
2012-03-19 14:50:26 +00:00
eap
9176157728 0021520: EDF 522 SMESH: Regression in MirrorMakeMesh
-        mesh.SetParameters(Mirror.parameters)
+        self.mesh.SetParameters(Mirror.parameters)
2012-03-19 14:31:57 +00:00
eap
834b58597d 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
adjust _pyHypothesisReader() for HexoticPLUGIN_ROOT_DIR but not HEXOTICPLUGIN_ROOT_DIR
2012-03-19 12:32:35 +00:00
eap
a75b6e066e 0020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
In MakeBoundaryMesh(), try to set new elements to a shape
2012-03-16 16:38:19 +00:00
gdd
d0cb37789d Update messages en/fr while loading a mesh data 2012-03-15 16:50:26 +00:00
vsr
05189ca91b 0021208: EDF 1138 SMESH: Performance issue when loading SMESH with an hdf file containing a big mesh
Show message in the status bar on mesh loading operation
2012-03-15 16:10:52 +00:00
vsr
d2f2237450 0021208: EDF 1138 SMESH: Performance issue when loading SMESH with an hdf file containing a big mesh
Change message format
2012-03-15 15:43:52 +00:00
eap
1ed22ce0be 0020463: EDF 1099 SMESH: performance regression from V4 to V5
make ParseParameters() also return a flag signaling that there are
variables among parameters and in AddNode() call mesh.SetParameters()
only if it's true
2012-03-15 12:14:52 +00:00
eap
8317c21cad void UpdateParameters(const char* theParameters)
{
+  if ( strlen(theParameters) == 0 ) return;
2012-03-15 12:11:16 +00:00
vsr
b0b26bc35f Format of preferences messages has been changed ('/' is used as separator instead of ':') 2012-03-15 09:24:23 +00:00
eap
b66badd782 0021208: EDF 1138 SMESH: Performance issue when loading SMESH with an hdf file containing a big mesh
Register tmp files in Engines::Container to be removed by killSalome.py
2012-03-15 08:54:09 +00:00
eap
c668696b87 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
Fix reading nodes from a new HDF file (attempt #2)
2012-03-14 15:20:31 +00:00
eap
c080bab83c 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
Fix reading nodes from a new HDF file
2012-03-14 15:03:06 +00:00
eap
5da7113dc9 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
More docs
2012-03-14 13:39:57 +00:00
eap
1e2742728c Prevent recording nodes as elements 2012-03-14 12:32:53 +00:00
ouv
3f1a249dc8 IPAL22870: Incorrect numbering of volume elements 2012-03-14 08:59:47 +00:00
eap
24bd6a0e24 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
rename classes to start from "StdMeshersDC_"
2012-03-11 10:31:27 +00:00
eap
344f1bff78 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
print errors occured while loading plugins
2012-03-11 10:30:52 +00:00
eap
28bb38ba81 0021509: EDF 2157: Error in the dump
1) fix _pyCommand::GetArg()
  2) AddMeshAccessorMethod() to "group.AddFrom( mesh )" command
2012-03-11 10:12:30 +00:00
eap
f93f0a8570 typo 2012-03-11 08:53:51 +00:00
eap
8b26d4794f 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
protect from exceptions at importing plugins
2012-03-11 08:53:28 +00:00
eap
649673b639 error in the script
-mesh.TriToQuadObject(GroupTriToQuad, None , 1.57)
+mesh.TriToQuadObject(GroupTriToQuad, smesh.FT_AspectRatio , 1.57)
2012-03-11 08:52:28 +00:00
eap
d4675122f5 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Now it's necessary to call myMesh->SetParameters() just before
  calling a method using parameters that can be defined via notebook variables
2012-03-07 15:13:29 +00:00
eap
4a78d582ba 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Add elements used in SMESH_2smeshpy
2012-03-07 15:11:06 +00:00
eap
5ccb7d953a 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Call  h->SetVarParameter() instead of h->SetParameters()
2012-03-07 15:10:28 +00:00
eap
102c101f1c 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Use TVar structure to dump arguments that can be defined via notebook variables
2012-03-07 15:07:13 +00:00
eap
f68bcab022 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Bind methods creating algorithms (defined by plugins) to the class Mesh
2012-03-07 15:06:37 +00:00
eap
e361a31d0f 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
+	StdMeshersDC.py \
2012-03-07 15:05:01 +00:00
eap
3c1e09c062 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Move definition of algorithms to ./StdMeshersDC.py
2012-03-07 15:04:45 +00:00
eap
93e79bb6c3 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Use TVar structure to dump arguments that can be defined via
   notebook variables
2012-03-07 15:03:32 +00:00
eap
130a2297e9 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Remove explicit treatment of NETGEN commands
2012-03-07 15:02:16 +00:00
eap
b38b77a5aa 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
void SMESH_Mesh_i::SetParameters(const char* theParameters)
 {
-  SMESH_Gen_i::GetSMESHGen()->UpdateParameters(SMESH::SMESH_Mesh::_narrow(_this()),
-                                               CORBA::string_dup(theParameters));
+  SMESH_Gen_i::GetSMESHGen()->UpdateParameters(theParameters);
2012-03-07 14:59:11 +00:00
eap
b0d8fa70d6 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Map names of variables set via SetVarParameter() to the method name setting them

+  void SetVarParameter (const char* parameter, const char* method);
+  char* GetVarParameter (const char* methodName);

+  std::map< std::string, std::string > myMethod2VarParams; // variable parameters
+
+ public:
+  // Methods for backward compatibility of notebook variables
+  virtual void setOldParameters (const char* theParameters);
+  virtual std::string getMethodOfParameter(const int paramIndex, int nbVars) const { return ""; }
+  virtual int getParamIndex(const TCollection_AsciiString& method, int nbVars) const { return -1; }
 };

 // ======================================================
2012-03-07 14:58:06 +00:00
eap
f5efe8066b 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Store names of variables set via UpdateParameters() in myLastParameters field

-  void UpdateParameters(CORBA::Object_ptr theObject, const char* theParameters);
+  void UpdateParameters(/*CORBA::Object_ptr theObject,*/ const char* theParameters);

+  const std::vector< std::string >& GetLastParameters() const { return myLastParameters; }
+  std::vector< std::string >                               myLastParameters;
2012-03-07 14:52:53 +00:00