eap
4bbc91256d
load mesh from study before Compute and PreCompute
2012-02-28 14:06:58 +00:00
rnv
a973225eef
Fix compilation on win32 platform.
2012-02-28 14:00:22 +00:00
eap
7468bfdc0b
0021375: EDF 1671 SMESH: Dump study of current state
...
Do not erase commands of hyps not used to compute mesh
2012-02-28 07:47:56 +00:00
eap
4986d0a274
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
...
Do not forget imported mesh on hypotheses modification
2012-02-24 11:49:16 +00:00
eap
154564a672
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
...
move actual mesh loading to SMESH_PreMeshInfo
2012-02-24 10:51:22 +00:00
eap
11bf8d1e4d
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
...
+ bool ToForgetMeshDataOnHypModif() const { return myToForgetMeshDataOnHypModif; }
2012-02-24 10:50:28 +00:00
eap
6bf9c4aeaf
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
...
+ virtual bool IsMeshInfoCorrect();
2012-02-24 10:49:36 +00:00
eap
9b54dd0f44
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
...
reimplement after making all member fields of SMESH_subMesh_i private
2012-02-24 10:49:18 +00:00
eap
f2e2182b74
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
...
+ CORBA::Boolean IsLoaded()
+ void Load()
+ virtual bool IsMeshInfoCorrect();
+ SMESH_PreMeshInfo* _preMeshInfo; // mesh info before full loading from study file
2012-02-24 10:47:20 +00:00
eap
53b7f3b9bb
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
...
+ virtual bool IsMeshInfoCorrect();
+ SMESH_PreMeshInfo* _preMeshInfo; // mesh info before full loading from study file
2012-02-24 10:46:31 +00:00
eap
feb9a2ff2e
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
...
+ SMESH_PreMeshInfo.hxx \
2012-02-24 10:42:10 +00:00
eap
7c156331ce
0021375: EDF 1671 SMESH: Dump study of current state
...
Keep hyp parameters modifications done after mesh.Comput()
2012-02-20 06:59:35 +00:00
eap
d632c0f379
0021375: EDF 1671 SMESH: Dump study of current state
...
Fix non-historical treating of hypo methods setting different parameters via one method
by passing parameter names like e.g. SetOption("size", "0.2") -
mangle method name by appending a 1st textual arg
2012-02-17 15:59:58 +00:00
gdd
4ad6a5b19b
Replace Descret by Discrete in variable and method names.
2012-02-17 14:30:02 +00:00
ana
e911ec9c1f
021374: EDF 1898 SMESH: Extrusion of a node to have an edge
...
and win32 compatibility ( replace isblank() -> isspace() )
2012-02-16 14:52:20 +00:00
eap
4f4088e813
0021374: EDF 1898 SMESH: Extrusion of a node to have an edge
...
Add accessor methods to all commands of the hypothesis
2012-02-15 11:16:59 +00:00
eap
64dc48191e
0021374]: EDF 1898 SMESH: Extrusion of a node to have an edge
...
Don't ExtrusionFlags
2012-02-13 17:52:48 +00:00
ana
a0e4f31fde
Implementation of the "0021374: EDF 1898 SMESH: Extrusion of a node to have an edge" issue.
2012-02-13 16:18:53 +00:00
vsr
f39558c4e3
Fix compilation error on Windows
2012-02-13 07:53:42 +00:00
eap
b1f48b44b7
0021375: EDF 1671 SMESH: Dump study of current state
...
correctly treat a false algorithm created by _pyMesh::Flush()
2012-02-09 16:42:07 +00:00
eap
0dad6db093
0021491: EDF 2094 SMESH: Error in the filters dump with "belong to GEOM " criterion
...
fix threshold setting
2012-02-09 16:24:01 +00:00
eap
4620909a6d
0021375: EDF 1671 SMESH: Dump study of current state
...
ConvertScript(const TCollection_AsciiString& theScript,
Resource_DataMapOfAsciiStringAsciiString& theEntry2AccessorMethod,
Resource_DataMapOfAsciiStringAsciiString& theObjectNames,
+ SALOMEDS::Study_ptr& theStudy,
+ const bool theHistoricalDump);
2012-02-09 13:17:49 +00:00
eap
2978b5432c
0021375: EDF 1671 SMESH: Dump study of current state
...
+ virtual void SetOption(const char*, const char*);
+ virtual char* GetOption(const char*);
+ bool myIsHistoricalPythonDump;
2012-02-09 13:17:21 +00:00
eap
f6cd6404d7
0021375: EDF 1671 SMESH: Dump study of current state
2012-02-09 13:16:35 +00:00
prascle
fda2d7b99e
PR: flat elements on 2D meshes
2012-02-02 17:06:56 +00:00
eap
98460fb0dc
0021338: EDF 1926 SMESH: New controls and filters
...
+ class SMESH_I_EXPORT EqualNodes_i: public virtual POA_SMESH::EqualNodes,
+ class SMESH_I_EXPORT EqualEdges_i: public virtual POA_SMESH::EqualEdges,
+ class SMESH_I_EXPORT EqualFaces_i: public virtual POA_SMESH::EqualFaces,
2012-01-26 15:58:58 +00:00
eap
da61389f82
0021338: EDF 1926 SMESH: New controls and filters
...
Correctly set mesh modified at transformations
2012-01-26 15:57:56 +00:00
eap
b4e2459e13
Fix RemoveOrphanNodes() to return valid nb of removed nodes
2012-01-26 11:06:16 +00:00
eap
1ef48564e5
0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
...
In ~TPreviewMesh(), nullify _myMeshDS after destruction
2012-01-24 13:01:34 +00:00
eap
fbae18cd7f
Add "const char* name" argument to consrtucctor of SMESH_subMeshEventListener
2012-01-18 12:07:14 +00:00
ana
253807f5b3
Fix for the bug IPAL22851: Sub-shapes spelling
2012-01-13 15:11:09 +00:00
eap
3cdf7352b9
0021439: EDF 2004 GEOM, SMESH: Dump of study gives bad geom group and stops with NameError exception
...
1) In _pyMesh::Process(), move submesh creation from the script end
to the place before its removal
2) In _pyMesh::Flush(), add indentation to a generated command creating algorithm
2012-01-11 14:14:58 +00:00
eap
17b10b2960
cosmetic changes
2012-01-11 14:11:39 +00:00
eap
9a55aad5ba
0021439: EDF 2004 GEOM, SMESH: Dump of study gives bad geom group and stops with NameError exception
...
fix _pyGen::FindObject() to restore the lost wrapping of hyp creation
2012-01-11 09:50:28 +00:00
eap
ee7c5d0f83
fix the previous integration
2011-12-16 17:13:39 +00:00
eap
933c23d9cb
not to dump GetMeshOrder()
2011-12-16 16:16:27 +00:00
eap
5638e6783f
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
...
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27
+ prepare to 0021439: Dump of study gives bad geom group and stops with NameError exception
2011-12-16 16:14:25 +00:00
eap
faf45035fc
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
...
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27
2011-12-16 09:34:33 +00:00
eap
209f475f91
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
...
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27
+ CORBA::Long NbBiQuadQuadrangles()
+ CORBA::Long NbTriQuadraticHexas()
+ CORBA::Long NbHexagonalPrisms()
2011-12-16 09:31:47 +00:00
eap
32a63e97ee
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
...
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27
In CopyMesh(), copy free nodes as well
2011-12-16 09:30:53 +00:00
eap
41b91cf1c6
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
...
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27
-#include "SMDS_VolumeTool.hxx"
2011-12-16 09:30:05 +00:00
vsr
493747e8ea
Merge from V6_4_BR 05/12/2011
2011-12-05 11:03:04 +00:00
eap
edba852a43
+ operator<<(const SMESH::string_array& theArg);
2011-10-28 12:51:17 +00:00
vsr
b6174726d9
Merge from V6_3_BR branch (Windows porting) 27/10/2011
2011-10-27 15:33:35 +00:00
eap
8801aa27ed
in PublishGroup(), for the standalone groups, set full ot empty icon
...
depending on availability of elements of type of the group in the mesh
2011-10-24 13:12:22 +00:00
eap
5dda5df854
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
...
fix filter processing
2011-10-24 13:10:19 +00:00
eap
bbb7b25fa6
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
...
class _pyGen {
+ Handle(_pyObject) FindObject( const _pyID& theObjID ) const;
2011-10-24 13:09:27 +00:00
eap
dee52cd346
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
...
class _pyGen {
+ Handle(_pyObject) FindObject( const _pyID& theObjID ) const;
2011-10-24 11:57:06 +00:00
eap
fb68cb5a3d
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
...
Pass the mesh of filter to predicate at setting a mesh and a
predicate to avoid dump of predicate commands when a group is
created from GUI
2011-10-24 11:56:13 +00:00
eap
fb7637f099
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
...
set a more human readable name to the filter
2011-10-12 18:06:28 +00:00
eap
fe3063e74b
0021275: EDF 1681 SMESH: Find the number of nodes of any group
...
remove 100000 limit
2011-10-04 14:01:58 +00:00
vsr
5d42bfdbec
0021275: EDF 1681 SMESH: Find the number of nodes of any group
...
0021359: [CEA] Mesh information
2011-10-04 13:14:47 +00:00
eap
044576569d
0021275: EDF 1681 SMESH: Find the number of nodes of any group
...
+ long GetNumberOfNodes();
+ long_array GetNodeIDs();
+ boolean IsNodeInfoAvailable();
2011-10-04 07:17:02 +00:00
eap
e7f669eb81
021346: EDF 1938 SMESH: "Use existing elements" functionality
...
In Load(), call hyp->UpdateAsMeshesRestored() before submesh->ComputeStateEngine(SUBMESH_RESTORED)
2011-08-22 08:43:48 +00:00
vsr
ca435d2f6b
Merge from V6_3_BR 12/08/2011
2011-08-12 15:16:02 +00:00
eap
39841ffadd
0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
...
make CGNS library an optional prerequisite
2011-08-11 11:38:37 +00:00
eap
34bcb9e1fb
0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
2011-08-10 12:49:26 +00:00
eap
52749e3d7f
0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
2011-08-10 10:33:38 +00:00
eap
17e2284321
0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
...
+ SMESH::mesh_array* CreateMeshesFromCGNS( const char* theFileName,
+ SMESH::DriverMED_ReadStatus& theStatus )
2011-08-10 10:28:52 +00:00
eap
f1b9e57c55
In StringToFunctorType(), return FT_Undefined for an invalid input
2011-08-10 10:27:45 +00:00
eap
339862d49c
0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
...
+ -I$(srcdir)/../DriverCGNS \
+ -I$(srcdir)/../SMESHUtils \
2011-08-10 10:22:48 +00:00
vsr
39f36db219
Merge from V6_3_BR 19/07/2011
2011-07-19 12:05:24 +00:00
vsr
91c92cb543
Merge from V6_3_BR 15/07/2011
2011-07-15 11:19:53 +00:00
eap
41cf70d768
0021014: EDF 1583 SMESH: Improvement of the Python Dumpfor the creation of groups
...
improve comment of getFunctNames()
2011-07-07 14:23:09 +00:00
eap
6263d10065
0021014: EDF 1583 SMESH: Improvement of the Python Dumpfor the creation of groups
...
In FunctorTypeToString(), return "FT_Undefined" for an invalid input
2011-07-07 14:21:27 +00:00
eap
974453b6c1
0021271: [CEA 473] Implement min size in netgen plugin
...
::SMESH_Hypothesis::TDefaults dflts;
+ dflts._shape = &shape;
2011-07-05 12:07:17 +00:00
eap
a6fa2d8561
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
...
icon for SMESH_GroupOnFilter
2011-06-24 08:36:34 +00:00
eap
bd284fc142
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
...
+ SMESH::SMESH_GroupOnFilter_ptr CreateGroupFromFilter()
2011-06-23 12:30:17 +00:00
eap
fa0176f072
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
...
+class SMESH_GroupOnFilter_i:
2011-06-23 12:29:23 +00:00
eap
41ea31ca86
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
...
Save and Load SMESH_GroupOnFilter
2011-06-23 12:26:04 +00:00
eap
a39a0e1f84
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
...
1) fix dump of Filter_i::SetCriteria()
2)
+ void Filter_i::AddWaiter( TPredicateChangeWaiter* waiter );
+ void Filter_i::RemoveWaiter( TPredicateChangeWaiter* waiter );
3)
+ const char* SMESH::FunctorTypeToString(SMESH::FunctorType ft);
+ SMESH::FunctorType SMESH::StringToFunctorType(const char* str);
2011-06-23 12:25:04 +00:00
eap
fe2d0f0f5c
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
...
class Filter_i
{
+ struct TPredicateChangeWaiter
+ {
+ virtual void PredicateChanged() = 0;
+ };
+ void AddWaiter( TPredicateChangeWaiter* waiter );
+ void RemoveWaiter( TPredicateChangeWaiter* waiter );
+ std::list<TPredicateChangeWaiter*> myWaiters;
+ const char* FunctorTypeToString(SMESH::FunctorType ft);
+ SMESH::FunctorType StringToFunctorType(const char* str);
2011-06-23 12:23:49 +00:00
eap
56793b53d1
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
...
Fix dump of SMESH_IDSource which is Filter
2011-06-23 12:20:30 +00:00
eap
b3cba8f4fd
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
...
1) convert SMESH.Filter.Criterion() to GetCriterion()
2)
+_pyGroup::Process()
+_pyFilter::Process()
2011-06-23 12:19:06 +00:00
eap
c31705d887
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
...
+class _pyGroup
+class _pyFilter
2011-06-23 12:15:16 +00:00
eap
d8c39ff840
0020743: EDF 1271 SMESH : Create a mesh from a group / export,FindElementByPoint() groups
...
1) convert
+ { // ExportPartTo*(part, ...) -> Export*(..., part)
+ // FindAmongElementsByPoint(meshPart, x, y, z, elementType) ->
+ // FindElementsByPoint(x, y, z, elementType, meshPart)
2) make _pyCommand::GetArg() work with any compex arg like list, tuple etc
2011-06-14 13:57:24 +00:00
eap
4fcec244fd
+ case ELEM0D:myStream<<"ELEM0D";break;
2011-06-14 13:54:50 +00:00
eap
7d0549090a
0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() groups
...
+ /*!
+ * Searching among the given elements, return elements of given type
+ * where the given point is IN or ON.
+ * 'ALL' type means elements of any type excluding nodes
+ */
+ SMESH::long_array* FindAmongElementsByPoint(SMESH::SMESH_IDSource_ptr elements,
+ CORBA::Double x,
+ CORBA::Double y,
+ CORBA::Double z,
+ SMESH::ElementType type);
2011-06-14 13:54:32 +00:00
eap
9012a64442
0020743: EDF 1271 SMESH : Create a mesh from a group / export groups
...
+ void ExportPartToMED(SMESH::SMESH_IDSource_ptr meshPart,
+ const char* file,
+ CORBA::Boolean auto_groups,
+ SMESH::MED_VERSION version,
+ CORBA::Boolean overwrite) throw (SALOME::SALOME_Exception);
+ void ExportPartToDAT(SMESH::SMESH_IDSource_ptr meshPart,
+ const char* file) throw (SALOME::SALOME_Exception);
+ void ExportPartToUNV(SMESH::SMESH_IDSource_ptr meshPart,
+ const char* file) throw (SALOME::SALOME_Exception);
+ void ExportPartToSTL(SMESH::SMESH_IDSource_ptr meshPart,
+ const char* file,
+ CORBA::Boolean isascii) throw (SALOME::SALOME_Exception);
2011-06-14 13:53:16 +00:00
vsr
2c607013a2
Merge from V6_3_BR 06/06/2011
2011-06-06 08:15:39 +00:00
eap
ecdd9a6194
- ExportToMEDX(file,auto_groups,SMESH::MED_V2_1,true);
...
+ ExportToMEDX(file,auto_groups,SMESH::MED_V2_2,true);
2011-04-08 08:43:48 +00:00
eap
513e407ce6
comment off not used
...
static bool sameGroupType()
2011-04-08 08:43:30 +00:00
vsr
790c5cfa90
Merge from PortingMED3 07Apr11
2011-04-07 11:53:43 +00:00
prascle
ecea4040f1
PR: create flat elements on face groups (ASTER calculations)
2011-03-30 15:48:07 +00:00
ouv
5f35b29326
Issue 0013373: EDF PAL 273 : Option Single/Multi file dump
2011-03-29 07:37:38 +00:00
prascle
4ac8d07584
PR: DoubleNodesOnGroupBoundaries in progress
2011-03-28 14:46:16 +00:00
barate
7a6a25502e
Fixed compilation without .la files from other modules
2011-03-25 14:33:52 +00:00
eap
cb561f9569
Fix idSourceToNodeSet() for the case of mesh with free nodes
2011-03-21 10:19:55 +00:00
adam
5142df035d
Implement Cancel Compute (begin)
2011-03-17 08:40:57 +00:00
eap
8b06eac8bd
0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
...
class SMESH_MeshEditor_i
{
+ void ConvertToQuadraticObject(CORBA::Boolean theForce3d,
+ SMESH::SMESH_IDSource_ptr theObject)
+ void ConvertFromQuadraticObject(SMESH::SMESH_IDSource_ptr theObject)
2011-03-16 15:38:32 +00:00
eap
c7177e7a38
in createGroup(), make a unique name if no name is provided
2011-03-14 10:28:54 +00:00
eap
a2db5e7c30
0021177: EDF 1563 SMESH: Preview of mesh during a modification
...
to add adjacent elements to preview only when move nodes in this mesh
2011-03-14 08:33:11 +00:00
eap
7b0ac035d6
0021177: EDF 1563 SMESH: Preview of mesh during a modification
...
add to preview elements sharing nodes moved by transformation
2011-03-11 16:48:31 +00:00
rnv
6e4eb47f89
Fix compilation error.
2011-03-11 14:57:25 +00:00
eap
c1c7d4f3b3
020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
...
fix python dump of MakeBoundaryElements()
2011-03-11 10:55:32 +00:00
eap
d7815a2348
020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
...
for note 0010000
+ CORBA::Long MakeBoundaryElements(SMESH::Bnd_Dimension dimension,
+ const char* groupName,
+ const char* meshName,
+ CORBA::Boolean toCopyAll,
+ const SMESH::ListOfIDSources& groups,
+ SMESH::SMESH_Mesh_out mesh,
+ SMESH::SMESH_Group_out group)
2011-03-11 10:17:50 +00:00
rnv
512a892301
Start implementation of the "21177: EDF 1563 SMESH: Preview of mesh during a modification" issue.
2011-03-11 08:34:40 +00:00
vsr
ac724740a9
SALOME::GenericObj : Destroy() -> UnRegister()
2011-03-04 15:42:14 +00:00
jfa
b21fc186af
Rename Engines::Component to Engines::EngineComponent
2011-02-28 14:55:52 +00:00
eap
4ebc2ac980
untabify
2011-02-16 10:18:08 +00:00