eap
a62ca0b865
22359: Body Fitting algorithm: grid orientation
...
Move global methods needed for NCollection_DataMap< TopoDS_Shape, * >
to class SMESHDS_Hasher in order not to clash with the same global definitions
- typedef NCollection_DataMap< TopoDS_Shape, THypList > ShapeToHypothesis;
+ typedef NCollection_DataMap< TopoDS_Shape, THypList, SMESHDS_Hasher > ShapeToHypothesis;
2014-02-04 13:05:33 +00:00
eap
cd3ffac3fa
22359: Body Fitting algorithm: grid orientation
...
22358: Body Fitting algorithm: origin point of grid defined by spacing
2014-02-04 13:02:26 +00:00
eap
fee6909125
22473: EDF 2825 SMESH: Memory allocation problem with ViscousLayer2D
...
1) enable recursive calls from StdMeshers_ViscousLayers2D::Compute( aMesh, F );
2) fix computeQuadDominant() for a case of triangles on 2 sides
3) do not use triaVertex for a quadrangle FACE
2014-01-31 13:43:11 +00:00
eap
ae475d83da
22473: EDF 2825 SMESH: Memory allocation problem with ViscousLayer2D
...
Use _noShrinkVert
2014-01-31 13:40:41 +00:00
rnv
b737ae98e6
Additional fix for the "0022460: [CEA 1042] Copy Mesh: impossible mesh selection in the object browser if selection in 3D view is disabled" issue.
2014-01-24 11:16:50 +00:00
rnv
6a9d0d6ae6
Fix for the "0022460: [CEA 1042] Copy Mesh: impossible mesh selection in the object browser if selection in 3D view is disabled"
2014-01-24 08:37:57 +00:00
eap
f202478154
22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices
...
fix for a case of http://www.salome-platform.org/forum/forum_10/863809970#478269857
2014-01-23 12:46:37 +00:00
eap
c94d606fe3
22316: EDF 2719 SMESH: Split hexas into prisms
...
Make Python API be equal to IDL API
2014-01-21 16:37:16 +00:00
eap
3f7c707fd9
22316: EDF 2719 SMESH: Split hexas into prisms
...
disable dialog if a mesh includes no hexahedra
2014-01-21 09:24:53 +00:00
eap
67dba15dfd
22244: [CEA] Method to compute the normal to a mesh face
...
- double_array GetFaceNormal(in long faceId);
+ double_array GetFaceNormal(in long faceId, in boolean normalized);
2014-01-20 17:42:20 +00:00
eap
e12cb3f8c3
22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices
...
fix recursive case of computeQuadPref()
2014-01-20 16:39:00 +00:00
eap
f55c997d2e
fix indentation
2014-01-20 10:45:36 +00:00
eap
d2c62e114d
22316: EDF 2719 SMESH: Split hexas into prisms
...
+ double GetDistance( const SMDS_MeshElement* elem, const gp_Pnt& point );
+ double GetDistance( const SMDS_MeshEdge* edge, const gp_Pnt& point );
+ double GetDistance( const SMDS_MeshVolume* volume, const gp_Pnt& point );
2014-01-20 10:35:19 +00:00
eap
0eac807ec1
22316: EDF 2719 SMESH: Split hexas into prisms
...
+ void SetArrowShapeAndNb( int nbArrows,
+ double headLength,
+ double headRadius,
+ double start=0.);
+ void SetArrows( const gp_Ax1* axes,
+ double length);
+ vtkUnstructuredGrid* GetGrid() const;
2014-01-20 10:34:46 +00:00
eap
74b03c9f40
22316: EDF 2719 SMESH: Split hexas into prisms
...
namespace SMESH
{
enum SMESHGUI_FilterType {
QuadFilter = 5,
TriaFilter = 6,
+ FirstGeometryTypeFilter,
+ FirstEntityTypeFilter = FirstGeometryTypeFilter + SMDSGeom_NONE,
+ LastFilter = FirstEntityTypeFilter + SMDSEntity_Last
};
};
+class SMESHGUI_VolumeShapeFilter : public SMESHGUI_Filter
+{
2014-01-20 10:34:21 +00:00
eap
b9b3af112d
22316: EDF 2719 SMESH: Split hexas into prisms
...
+ static int GetOppFaceIndexOfHex( int faceIndex );
2014-01-20 10:32:49 +00:00
eap
80d5c05fce
22316: EDF 2719 SMESH: Split hexas into prisms
...
+ virtual SMDSAbs_GeometryType GetGeomType() const { return SMDSGeom_POLYGON; }
2014-01-20 10:32:30 +00:00
eap
ffa5254282
22316: EDF 2719 SMESH: Split hexas into prisms
...
+ GeometryType GetElementShape( in long id )
+ raises (SALOME::SALOME_Exception);
2014-01-20 10:32:14 +00:00
eap
f500e5a8b6
22316: EDF 2719 SMESH: Split hexas into prisms
2014-01-20 10:31:23 +00:00
eap
a406fd6793
22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices
...
fix for recursive call of computeQuadPref()
2014-01-15 10:27:00 +00:00
vsr
f7aba4830d
Merge from BR_imps_2013 14/01/2014
2014-01-15 09:41:17 +00:00
eap
b117205bfd
22455: Error "No mesh elements assigned to a face" is raised instead of a simple warning
...
1) Fix finding a shape in a study
2) Append study entry to a name of published failed sub-shape
2014-01-10 08:01:57 +00:00
eap
dda95cb5b7
22455: Error "No mesh elements assigned to a face" is raised instead of a simple warning
...
Append study entry to a failed sub-shape name,
else it's hard to find a sub-shape in the study
2014-01-09 15:08:07 +00:00
vsr
072a73120b
Merge from V7_3_BR (09/01/2014)
2014-01-09 14:20:44 +00:00
vsr
2cd148d066
Merge from V7_3_BR branch 18/12/2013
2013-12-18 15:08:18 +00:00
mpa
49638e2cad
INT PAL: 0052225: Failed mesh - number of isolines does not correspond to settings
2013-12-13 10:17:22 +00:00
eap
46d1b0f374
Synchronize with *_msg_en.ts
2013-12-13 08:48:28 +00:00
eap
dcf2d0e66c
"viscous layer 3d around foil"
...
http://www.salome-platform.org/forum/forum_10/77751736
Use angular smoothing and swap diagonals during shrink()
2013-12-12 13:52:28 +00:00
eap
065232801d
"viscous layer 3d around foil"
...
http://www.salome-platform.org/forum/forum_10/77751736
Fix InverseDiag()
2013-12-11 14:52:44 +00:00
eap
21619a293e
52236: TC7.3.0 Operation "Extrusion along a path" brings to wrong results if field "Rotation Angles" is used for calculation.
...
Fix setting angles in MakeExtrElements()
2013-12-06 15:55:21 +00:00
eap
f22869c9cf
0052235: TC7.3.0: continious fatal errors after splitting into 24 tetrahedra
...
Protect myMesh from deletion in onApply()
2013-12-06 15:26:44 +00:00
rnv
1f846c64e0
Show warning only in the verbose mode.
2013-12-06 06:20:09 +00:00
eap
5e342ebfd0
52223: TC7.3.0:Automatically create groups for MED export does not
...
save in export mesh dialog box,when we check it in preferences
2013-12-05 15:47:22 +00:00
eap
f24e7f0173
Regression SALOME_TESTS/Grids/smesh/bugs_02/C9
...
In updateDegenUV() set number of nodes on a degenerated side to be
same as on an opposite side ONLY IF myQuadType == QUAD_STANDARD
2013-12-05 11:26:24 +00:00
rnc
3a98cb17c9
Japanese translations update
2013-12-05 10:38:14 +00:00
eap
78bfc8db7d
22434: [CEA 1022] If selection is disabled, the contextual menu of VTK view does not update on selected object
...
Fix processOwner() for the case of disabled SVTK selection
2013-12-05 09:32:23 +00:00
rnc
370bb866cf
REG: SurfOpt plugin : Documentation update + small corrections
2013-12-04 09:46:28 +00:00
mpa
1e8362453d
INT PAL 0052190: TC7.3.0: impossible to set proper value for clipping
2013-12-04 09:43:48 +00:00
kga
d280b47f5f
IPAL0052197: TC7.3.0 "Fatal error" when try to add new filter to filter library
2013-12-04 09:36:38 +00:00
akl
6518fc4882
Set debug library name on Win32.
2013-12-04 08:41:23 +00:00
kga
68e9313a5e
IPAL0052195: TC7.3.0: Application crashes after closing "Add Quadratic Edge" dialog
2013-12-04 05:38:25 +00:00
rnc
26a602248d
BUG: Yams plugin: Fixed bad default values due too previous integrations for passing to MGSurfOpt
2013-12-03 17:37:51 +00:00
rnc
f543238c60
BUG: MGCleaner / MGSurfOpt : Fixed a problem with the doc displayed in a non-standard way when clickin on help button.
...
A pdf file included in the general plugin documentation was opened through xdg-open instead of showing the general documentation in the browser specified in the preferences. This latest behaviour has been implemented
2013-12-03 16:40:54 +00:00
rnc
de12df7b90
BUG: Yams plug-in: Small bug fix, validator number of decimal for chordal deviation parameter was 2 instead of 3
2013-12-03 15:39:14 +00:00
rnc
5259101c27
tooltip correction
2013-12-03 15:34:24 +00:00
rnc
271a3fb6bb
BUG: Yams plugin: Dialog input values were not reset to default when closing and reopening it + verbose level spinbox was connected to max memory by mistake
2013-12-03 15:05:31 +00:00
vsr
15e0993d69
Fix crash (from PPGP) when invoking popup on non-smesh (light) object
2013-12-03 10:58:50 +00:00
vsr
3fefd303ac
0022427: EDF GEOM Regression: Issue with geomBuilder
2013-12-03 05:52:36 +00:00
rnc
810093b4ee
Updated MG-Cleaner doc.
...
A mechanism should be found for the next version to get directly the doc from the Meshgems install directory instead of copying it because there is a risk to have outdated documentation with the current way.
2013-12-02 16:09:16 +00:00
rnc
ea0744cc4f
BUG: MGSurfOpt (Yams) plugin: Added a missing file
2013-12-02 16:06:19 +00:00
eap
50c2fb07ab
20974: EDF 1551 GEOM: Extra edges appear in the result of a partition and can't be removed
...
Optimize smooth: 3 loops in 2D and 2 loops in 3D
2013-11-29 09:14:36 +00:00
eap
ccb0d68b6f
PPGP
...
In TSearchersDeleter fix setting/removing the event listener
2013-11-29 08:45:55 +00:00
eap
df70ba0baf
0022423: EDF SMESH Regression: Quadrangle algo fails
...
In GetAngle() prevent SIGFPE at singularity
2013-11-28 17:03:09 +00:00
eap
5fbe78b190
0022423: EDF SMESH Regression: Quadrangle algo fails
...
fix CheckNbEdges() for the case of a degenerated 5-th edge
2013-11-28 17:01:37 +00:00
eap
574db3468d
Improve regularity of divisions
2013-11-28 13:31:50 +00:00
eap
6c280dad9a
22422: EDG SMESH Regression: Quadrangle/Hyptohesis Quadrangle preference fails
...
Do not compute both QuadPreference and Standard
2013-11-28 11:38:40 +00:00
vsr
05ee6999b7
Merge of fix from V7_main
2013-11-28 08:49:22 +00:00
fahed
8fcd118698
Small fix for windows
2013-11-28 08:41:47 +00:00
mpa
046b185660
CMake:
...
- add files to remove using command "make clean"
2013-11-27 11:00:50 +00:00
eap
d9d385cc06
22419: EDF SMESH Regression: 3D Extrusion fails
...
FaceQuadStruct::Ptr CheckNbEdges(SMESH_Mesh& aMesh,
const TopoDS_Shape& aShape,
+ const bool considerMesh=false);
2013-11-27 10:00:34 +00:00
imn
c8c04435db
Integrated in V7_main: 0022366: EDF SMESH: Create Mesh dialog box improvement: create empty mesh without geometry in GUI
2013-11-27 07:30:42 +00:00
eap
cf325767f5
more orthography
2013-11-26 13:41:02 +00:00
eap
521479f0ef
Fix indentation
2013-11-26 13:37:39 +00:00
eap
5cdfcba279
More safety
...
- if ( l_d->first->IsDeletable() )
+ if ( l_d->first != listener && l_d->first->IsDeletable() )
2013-11-26 13:33:52 +00:00
eap
06236fdb5a
22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices
...
+ * \brief Create a side from an UVPtStructVec
+ */
+ StdMeshers_FaceSide(UVPtStructVec& theSideNodes);
2013-11-26 13:30:21 +00:00
eap
eeb8567ff9
Fix CheckNbEdges() for a FACE with a closed EDGE
2013-11-26 13:29:36 +00:00
eap
d0bcfa9ea1
Fix access to NULL quad
2013-11-26 12:26:45 +00:00
eap
5f7b45e582
http://www.salome-platform.org/forum/forum_11/173031193
...
Fix associating FACEs having degenerated EDGEs
2013-11-26 12:16:47 +00:00
imn
33d8a195b4
Integrated to V7_main: 0022366: EDF SMESH: Create Mesh dialog box improvement: create empty mesh without geometry in GUI
2013-11-26 10:15:18 +00:00
imn
608b1a194b
Integrated to V7_main: 0022366: EDF SMESH: Create Mesh dialog box improvement: create empty mesh without geometry in GUI
2013-11-26 10:11:53 +00:00
eap
b2f41043c8
Fix SIGSEGV at closing a study
2013-11-25 10:39:28 +00:00
eap
a004160516
0022414: [CEA 1010] Regressio on tests 01_composite.py
...
Fix for a vertex w/o a node
2013-11-25 09:14:33 +00:00
eap
1faf00f679
0022414: [CEA 1010] Regressio on tests bug_763_netgen_1d_2d.py
...
+ from salome.smesh.smeshBuilder import Mesh
2013-11-25 09:13:09 +00:00
eap
850941885d
synchronize with SMESH_msg_en.ts
2013-11-22 13:55:23 +00:00
eap
d5b3009987
- static bool isStraight( const TopoDS_Edge & E, const bool degenResult=false );
...
+ static bool IsStraight( const TopoDS_Edge & E, const bool degenResult=false );
2013-11-22 13:17:22 +00:00
eap
620c78e582
+ bool findUVByHalfDivision( const gp_Pnt& thePoint, const gp_XY& theUV,
...
+ const TFace& tface, gp_XYZ& theParams);
+ bool findUVAround( const gp_Pnt& thePoint, const gp_XY& theUV,
+ const TFace& tface, gp_XYZ& theParams, int nbGetWorstLimit );
2013-11-22 13:17:00 +00:00
eap
ffa6ef36b3
http://www.salome-platform.org/forum/forum_10/409159356
...
Fox testcube2a.py
2013-11-22 13:16:34 +00:00
eap
8093357296
22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
...
- StdMeshers_FaceSide(const SMDS_MeshNode* theNode,
- const gp_Pnt2d thePnt2d,
- const StdMeshers_FaceSide* theSide);
+ StdMeshers_FaceSide(const StdMeshers_FaceSide* theSide,
+ const SMDS_MeshNode* theNode,
+ const gp_Pnt2d* thePnt2d1,
+ const gp_Pnt2d* thePnt2d2=NULL,
+ const Handle(Geom2d_Curve)& theC2d=NULL,
+ const double theUFirst=0.,
+ const double theULast=1.);
2013-11-22 13:14:08 +00:00
eap
dacd5b29c7
22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
...
+ int GetCorners(const TopoDS_Face& theFace,
+ SMESH_Mesh & theMesh,
+ std::list<TopoDS_Edge>& theWire,
+ std::vector<TopoDS_Vertex>& theVertices,
+ int & theNbDegenEdges);
2013-11-22 12:40:36 +00:00
eap
73df78c0c4
22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
...
- StdMeshers_FaceSide(const SMDS_MeshNode* theNode,
- const gp_Pnt2d thePnt2d,
- const StdMeshers_FaceSide* theSide);
+ StdMeshers_FaceSide(const StdMeshers_FaceSide* theSide,
+ const SMDS_MeshNode* theNode,
+ const gp_Pnt2d* thePnt2d1,
+ const gp_Pnt2d* thePnt2d2=NULL,
+ const Handle(Geom2d_Curve)& theC2d=NULL,
+ const double theUFirst=0.,
+ const double theULast=1.);
2013-11-22 12:37:31 +00:00
eap
127524b9c2
22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
...
do not import from smeshBuilder to avoid pb with cyclic import
2013-11-22 12:36:27 +00:00
eap
89eaa44e08
22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
...
+ COMPERR_BAD_PARMETERS = -13, //!< incorrect hypotheses parameters
2013-11-22 12:35:35 +00:00
eap
60f3b24591
22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
...
+ <source>COMPERR_BAD_PARMETERS</source>
+ <translation>Invalid input parameters</translation>
2013-11-22 12:35:17 +00:00
eap
a007ecaef9
22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
...
+ CASE2TEXT( COMPERR_BAD_PARMETERS );
2013-11-22 12:34:58 +00:00
eap
0280d2e6a7
22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
...
Fix "int WrapIndex(const int ind, const int nbNodes)" for ind=-4 and nbNodes=4
2013-11-22 12:34:45 +00:00
eap
ea1c9b37c7
-from salome.StdMeshers import StdMeshersBuilder
...
+import StdMeshers
2013-11-20 11:31:08 +00:00
kga
7e624b26fa
22314: EDF 2594 SMESH: Preview "Union of triangles" result
2013-11-20 09:12:48 +00:00
eap
4e198a53df
22412: [CEA 1005] Impossible to have a logarithmic scalar bar when values <1e-07
...
Enable Logarithmic check box for small values
2013-11-20 08:13:41 +00:00
mpa
e2a638a026
- Modifing Geometry and Mesh Python scripts from SALOME 6 and before
2013-11-19 12:41:57 +00:00
mpa
98eacab61c
- Modifing Geometry and Mesh Python scripts from SALOME 6 and before
2013-11-19 12:29:02 +00:00
mpa
9dcd09c6f5
- Modifing Geometry and Mesh Python scripts from SALOME 6 and before
2013-11-19 12:08:40 +00:00
mpa
47bdf12d63
- Modifing Geometry and Mesh Python scripts from SALOME 6 and before
2013-11-19 12:03:24 +00:00
eap
01fd947027
avoid FPE
2013-11-19 11:54:02 +00:00
eap
e57d64d391
Regression of SALOME_TESTS/Grids/smesh/bugs_03/D6
...
Improve the EventListener to clean all EDGEs of a complex side if one EDGE is cleaned
2013-11-18 16:51:16 +00:00
eap
a60773c9b3
In SetParametersByDefaults(), make myMinSize and myDeflection greater
2013-11-18 16:50:05 +00:00
eap
142df328f7
Regression SALOME_TESTS/Grids/smesh/3D_mesh_HEXA3D_00/C2
...
Fix isConcave()
2013-11-18 14:59:23 +00:00
eap
45b939fb48
Regression SALOME_TESTS/Grids/smesh/3D_mesh_HEXA3D_00/C2
...
Fix GetAngle() to take Orientation() of input edges as is and not
using GetSubShapeOri() which is wrong for the seam edge
2013-11-18 14:55:27 +00:00
eap
c789cfecef
fix SIGFPE on too short EDGEs
2013-11-18 13:21:17 +00:00
eap
10e12cc117
fix SIGFPE on too short EDGEs
2013-11-18 12:35:16 +00:00
eap
68cf640188
do not add a reference to useCaseBuilder twice
2013-11-18 10:53:13 +00:00
eap
fc83dc7660
synchronize myBadMeshBtn and myBadMeshToGroupBtn
2013-11-18 10:27:22 +00:00
eap
b099b4c7c3
Regression of SALOME_TESTS/Grids/smesh/imps_09/K5
...
Take care to remove a node from its sub-mesh
2013-11-15 17:54:28 +00:00
eap
2ec7f35ace
Regression of SALOME_TESTS/Grids/smesh/imps_08/I8
2013-11-15 15:24:18 +00:00
eap
fb698074ae
22408]: [CEA 996] Impossibility to filter Face with an Area criterion
2013-11-15 15:16:54 +00:00
eap
25cf51c07e
Regression of SALOME_TESTS/Grids/smesh/imps_08/I8
...
Attempt nb 2
2013-11-15 14:47:45 +00:00
eap
309959077f
Regression of SALOME_TESTS/Grids/smesh/imps_08/I8
2013-11-15 14:44:06 +00:00
eap
d547ba4db9
more comments
2013-11-15 13:43:38 +00:00
eap
b7eee22ba4
Regression of SALOME_TESTS/Grids/smesh/dump_study_00/B7
...
In CheckObjectPresence(), skip print statement
2013-11-15 12:44:42 +00:00
eap
1872ac43e1
Regression of SALOME_TESTS/Grids/smesh/bugs_19/X7
...
Increase nb of allowed shrink loops
2013-11-15 12:19:28 +00:00
eap
c2a18a423e
Regression of SALOME_TESTS/Grids/smesh/bugs_13/N9
...
Fix association of SHELLs
2013-11-15 11:59:48 +00:00
eap
bfcfbc1ba9
Prevent failure if a degenerated EDGE is not meshed
2013-11-15 10:20:33 +00:00
eap
862dfb92f3
2355: EDF SMESH: New 1D hypothesis "Adaptive"
...
More performance optimization
2013-11-15 09:48:22 +00:00
eap
813092187c
22406: EDF SMESH Regression : Items are missing in group contextual menu
...
Fix the previous "improvement"
2013-11-14 15:15:27 +00:00
eap
f7f460b8b0
2355: EDF SMESH: New 1D hypothesis "Adaptive"
...
Performance optimization
2013-11-14 14:27:06 +00:00
eap
66f244f657
Enable canceling Compute
2013-11-14 14:25:12 +00:00
eap
301a74fd98
22372: EDF 2758 SMESH: Create/Manage groups on a mesh composed of nodes and balls
...
Performance optimization for groups on filter:
int SMESHGUI_Selection::numberOfNodes( int ind ) const
{
...
- return aGroupObj->Size();
+ return aGroupObj->IsEmpty(); // aGroupObj->Size();
2013-11-14 09:17:58 +00:00
eap
d51efe3933
Move BelongToGeom and LyingOnGeom classes to src/Controls/SMESH_Controls*
2013-11-14 09:15:23 +00:00
eap
b527115273
22372: EDF 2758 SMESH: Create/Manage groups on a mesh composed of nodes and balls
...
1) In ElementsOnShape, particularly treat a case of the box shape, to
speed up classification
2) Move BelongToGeom and LyingOnGeom classes from SMESH_Filter_i.*xx
2013-11-14 09:14:20 +00:00
eap
a897e2d0ce
22372: EDF 2758 SMESH: Create/Manage groups on a mesh composed of nodes and balls
...
Set SUIT_OverrideCursor while all mesh elements are filtered
2013-11-13 14:40:40 +00:00
eap
62e1c11b6d
untabify
2013-11-13 14:39:43 +00:00
eap
39fabf09c1
22372: EDF 2758 SMESH: Create/Manage groups on a mesh composed of nodes and balls
...
In ClearMesh(), free elements cashed in GroupOnFilter's
2013-11-13 14:39:11 +00:00
eap
530e2aa3f8
22372: EDF 2758 SMESH: Create/Manage groups on a mesh composed of nodes and balls
...
Cash elements in case of small meshes
2013-11-13 14:38:10 +00:00
eap
1f4550c491
22372: EDF 2758 SMESH: Create/Manage groups on a mesh composed of nodes and balls
...
Prepare to parallelism
2013-11-13 14:35:36 +00:00
eap
423f2b8731
022398: EDF 2783 SMESH: No end with viscous layer computation
...
Prevent infinite loop in shrink()
2013-11-12 14:50:30 +00:00
eap
7ba5d8000f
022398: EDF 2783 SMESH: No end with viscous layer computation
...
1) Fix CheckNodeU() for unfinite U and NURBS curve
2)
+ static double GetAngle( const TopoDS_Edge & E1, const TopoDS_Edge & E2, const TopoDS_Face & F);
2013-11-12 14:48:16 +00:00
eap
56fa701d47
022398: EDF 2783 SMESH: No end with viscous layer computation
...
+ static double GetAngle( const TopoDS_Edge & E1, const TopoDS_Edge & E2, const TopoDS_Face & F);
2013-11-12 14:46:58 +00:00
rnv
cf381121dc
Win32 compilation.
2013-11-11 11:46:01 +00:00
eap
7b33bc39fd
22355: EDF SMESH: New 1D hypothesis "Adaptive"
2013-11-11 11:07:44 +00:00
mpa
35fe299875
CMake: Edit sphinx documentation
2013-11-07 13:08:36 +00:00
mpa
7f8cbff034
CMake: Update path and version variables for current build system
2013-11-07 11:30:33 +00:00
rnc
2d9205e89f
Japanese translations update
2013-11-05 15:26:19 +00:00
rnv
706f4f7e51
Fix for the "0022345: EDF 2754 SMESH: Select pyramids in Mesh Information" issue.
2013-11-05 11:26:07 +00:00
mpa
91b5b91616
CMake:
...
Edit documentation. Use salome macros to set the environment for sphinx run.
2013-11-01 10:44:42 +00:00
vsr
e8f2021b3a
Add missing link dependency (libcgns depends on hdf5 but does not link against libhdf5 on Linux)
2013-10-31 10:17:43 +00:00
vsr
5bd4251de9
Workaround about SWIG_ADD_MODULE bug: remove duplicates in include directories
2013-10-29 07:31:44 +00:00
rnc
02dc428b77
Small correction in the doc of FindCoincidentNodes, MergeNodes, MergeElements ... The type of object returned or taken as an argument by these methods has been detailed with more accuracy
2013-10-28 15:32:04 +00:00
ana
74493f3fdb
Fix compilation on WIN64 in Release mode
2013-10-25 13:31:17 +00:00
rnv
1e17e9ef94
Win32 compilation.
2013-10-24 12:05:53 +00:00
rnv
01488106b7
Generate documentation only if corresopnding option is swiched on.
2013-10-24 12:05:10 +00:00
rnv
5c7170a3e6
Add dll import/export on WIN32 platform.
2013-10-24 12:04:17 +00:00
rnv
7cf5e26857
Use WIN32 CMake variable instead deprecated WINDOWS variable.
2013-10-24 12:03:15 +00:00
eap
58d829687d
22355: EDF SMESH: New 1D hypothesis "Adaptive"
...
Make all fields protected
2013-10-21 13:07:09 +00:00
vsr
716b8a81b9
Give proper permissions to Python scripts
2013-10-21 11:21:11 +00:00
vsr
be6e7300b2
Give proper permissions to Python scripts
2013-10-21 11:11:39 +00:00
eap
c34100e8f8
22355: EDF SMESH: New 1D hypothesis "Adaptive"
...
Make myBox protected
2013-10-21 08:21:05 +00:00
rnv
2b4292d02d
Small correction.
2013-10-18 14:32:33 +00:00
rnv
e33e8e2029
WIN32 compilation of the SMESH module:
...
1) Fix common WIN32 compilation errors.
2) Replace WNT deprecated macro definition by the WIN32.
3) Remove unnecessary test executables.
4) Make MEFISTO2D algorithm optional: try to determine f2c generator and generate C code from Fortran, otherwise MEFISTO2D is unavailable.
2013-10-18 13:29:00 +00:00
vsr
d726924388
Manage concurrent hypotheses sets properly
2013-10-18 11:05:26 +00:00
eap
ed55bd5c25
22355: EDF SMESH: New 1D hypothesis "Adaptive"
...
make getChildIndex() static
2013-10-17 12:48:25 +00:00
eap
0d3dd80ac2
22332: EDF 2725 SMESH: Convert to bi-quadratic failure after hexotic meshing
...
In GetCentralNode(), check UV of corner nodes
2013-10-16 14:24:20 +00:00
rnv
824f011cef
First step for the "21793: [CEA 625] Clipping : from coordinates or from bounding box" issue.
2013-10-16 12:56:06 +00:00
inv
fcec7fb454
RNV: Fix compilation in the WITHOUT GUI mode.
2013-10-15 06:49:00 +00:00
rnc
b9cd996c20
REG: Verima / Build procedure: Updated the CMake build procedure and removed some files previously added by mistake
2013-10-14 15:02:25 +00:00
rnc
2d16118826
IMP: Verima / New Plugin: Added a plugin for meshers quality testing (work done at EDF by Pascale Noyret and Bruno Clement)
2013-10-14 13:27:09 +00:00
vsr
5651bafb1c
Merge from V7_siman 11/10/2013
2013-10-11 12:58:32 +00:00
rnv
1bd4ba8acd
Porting SALOME SMESH module to the CMake build system: initial version.
2013-10-10 12:57:42 +00:00
eap
48653b1aec
-#if OCC_VERSION_LARGE > 0x06010000
...
OCC_CATCH_SIGNALS;
-#endif
2013-10-10 10:29:42 +00:00
eap
a6a734f166
catch exceptions in "rate = algo->GetProgress();"
2013-10-10 10:26:03 +00:00
eap
51e8f347ad
Fix multi-file dump
2013-10-09 16:25:36 +00:00
eap
2bdf78860b
Fix
...
1) SALOME Forum bug http://www.salome-platform.org/forum/forum_14/610436714
2) Regressions of SALOME_TESTS/Grids/smesh/imps_09/K0
2013-10-09 16:06:33 +00:00
rnv
a39c405c68
Implementation of the "0021709: [CEA 583] Toolbar preferences" issue.
2013-10-04 14:02:16 +00:00
eap
f5c4ae89eb
0022172: [CEA 790] create the groups corresponding to domains (note 0016221)
...
A better fix for Clear() for the mesh w/o shape
2013-10-04 10:12:56 +00:00
eap
ad501c420b
0022172: [CEA 790] create the groups corresponding to domains (note 0016221)
...
Fix Clear() for the mesh w/o shape
2013-10-04 10:08:21 +00:00
eap
53bf890d48
Fix doxycomments
2013-09-27 07:57:23 +00:00
eap
8b3847f1af
Fix warning
...
unused variable 'ielem'
2013-09-27 07:54:54 +00:00
eap
95ac4b3747
Fix warning
...
no return statement in function returning non-void
2013-09-27 07:51:07 +00:00
eap
db4fd22d08
untabify
2013-09-26 08:44:08 +00:00
eap
5cdebf6f36
For PPGP: in GetAlgoState() remove INFOS( "None algorithm attached" ) since hyp
...
definition errors are reported now in both gui and tui modes
2013-09-25 08:16:55 +00:00
eap
59e7d429a0
Fix for SMESH::FT_BallDiameter
2013-09-23 08:23:40 +00:00
eap
35fbc09ef7
0022318: [CEA] Problems with study dump in SMESH
...
WNT porting
2013-09-20 15:35:08 +00:00
eap
d217545eec
0022318: [CEA] Problems with study dump in SMESH
...
Restore
Swap "aFilterManager.CreateFilter()" and "smesh.GetFilterFromCriteria(criteria)"
2013-09-20 15:34:52 +00:00
eap
fab1d896c8
Fix omniORB::fatalException at SALOME termination after creating a Mesh in Python
...
do not call mesh.Register() as this prevents mesh servant deletion at closing study
2013-09-19 12:44:24 +00:00
eap
7384d881f7
Fix omniORB::fatalException at SALOME termination after creating a Mesh in Python
...
Deactivate CORBA object in destructor
2013-09-19 12:40:41 +00:00
eap
7ba6caead5
22318: [CEA] Problems with study dump in SMESH
...
Memory usage and performance optimization: do not make a script from
lines and than split it back into lines several times.
2013-09-19 12:34:44 +00:00
eap
0e557488d2
fix getSubmeshIDForCopiedMesh()
2013-09-18 12:57:26 +00:00
rnv
519f45e495
Implementation of the "0022102: EDF 1496 SMESH : Displaying of discrete elements in SMESH relating to their attribute (diameter)" issue.
2013-09-13 10:00:15 +00:00
vsr
535d13a0f8
Fix memory leaks: another attempt
2013-09-13 06:58:16 +00:00
vsr
7b4622715b
Fix memory leaks
2013-09-13 06:35:30 +00:00
vsr
39b656bb9f
0022221: [CEA 819] Error "'NoneType' object is not callable" at Salome closure
2013-09-12 14:18:54 +00:00
eap
ab30aac8c8
0022318: [CEA] Problems with study dump in SMESH
...
Memory needed for SMESH_2smeshpy::ConvertScript() reduced by 3 times
2013-09-12 11:11:52 +00:00
vsr
1940817a98
Fix linkage problem
2013-09-12 07:29:50 +00:00
vsr
29dba0dc2d
Fix linkage problem
2013-09-12 07:16:32 +00:00
vsr
6a962cf2a3
Fix linkage problem
2013-09-12 07:06:31 +00:00
vsr
9be2f33e68
Fix linkage problem
2013-09-12 06:56:51 +00:00
vsr
491bee0132
Fix linkage problem
2013-09-12 06:38:25 +00:00
fahed
d557d034ee
Correction of a spelling mistake :
...
"bynary" becomes "binary"
2013-09-11 12:41:25 +00:00
fahed
721565eb5e
Correction of the documentation about GMF import/export.
2013-09-11 12:22:01 +00:00
eap
49eb7d1c5f
again: Avoid SIGSEGV in debug mode if CheckNbEdges() is called w/o calling Compute()
2013-09-11 10:34:33 +00:00
eap
03ec1eff31
Avoid SIGSEGV in debug mode if CheckNbEdges() is called w/o calling Compute()
2013-09-10 14:28:13 +00:00
eap
c81123c27b
22170: [CEA 704] Redirect NETGEN outup in a log file
...
restore cout possibly redirected by algo
2013-09-10 13:52:57 +00:00
barate
b0382c4298
Fix boost_filesystem usage
2013-09-06 16:13:23 +00:00
eap
3efca6d10c
Progress bar. Increase difference between computeCost of EDGE and FACE
2013-09-03 15:48:57 +00:00
eap
8a85c65b1e
Regression of XSMESH_TEST/SMESHCOMMON/SMESH_TEST/Grids/smesh/3D_mesh_Extrusion/A6
...
TTElemOfElemListMap and TElemOfVecOfNnlmiMap must use same comparator
for correct work of makeWalls()
2013-09-03 11:38:19 +00:00
vsr
82a6b20865
0022308: EDF 2572 SMESH: Can't import a file with a non ascii character in the path
2013-09-03 10:58:47 +00:00
eap
c50bee3b04
1) Use transformation for projection from bottom to top
...
2) Improve performance of TPCurveOnHorFaceAdaptor::Value() by avoiding
creation of PCurves on planar faces
3) Report a meaningful error in case of missing 1D algo
2013-09-03 10:42:36 +00:00
eap
24a2dcb5a8
enable ComputeParameters() to find a better solution in hard cases
...
(concave faces)
+ void refineParametersOnFace( const gp_Pnt& thePoint, gp_XYZ& theParams, int theFaceID );
2013-09-03 10:33:38 +00:00
eap
ab9af27445
Bug: preview works correctly only once, other times preview shows the same
...
as at the 1st time.
Ensure clearing of tmp mesh
2013-09-03 09:42:04 +00:00
rnc
234f898030
IMP: SMESH / Yams plug-in: Some more updates for porting to MGSurfOpt 1.1
2013-09-02 11:46:39 +00:00
rnc
3ecdf53dff
IMP: SMESH/Yams plug-in: Update to use Meshgems-SurfOpt 1.1 (new name of Yams)
2013-08-30 15:35:06 +00:00
eap
bbcc474cc2
fix leaks of SALOMEDS_UseCaseBuilder_i
2013-08-28 12:10:59 +00:00
eap
6428930b1f
fix SIGSEGV in Save() on an empty mesh, after the previous optimization
2013-08-28 11:58:22 +00:00
eap
059b9c819d
small imp
2013-08-28 11:56:36 +00:00
vsr
47da75254e
Fix crash in salome_test.py
2013-08-28 11:00:25 +00:00
bourcier
30bb71dac9
Adding the public member IsSelectionActivated() to access the selection status of the widget from dialog boxes implementation.
2013-08-28 09:38:03 +00:00
eap
a27b03972c
SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
...
make smoothAnalyticEdge() work for a circle EDGE in 3D case
2013-08-23 16:27:29 +00:00
eap
b860f3ffbd
SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
...
Do not report a compute error if a node on VERTEX is not shared by any
segment because segments on seam EDGE are assigned later
2013-08-23 16:26:29 +00:00
eap
b14fd3f9bd
SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
...
Ignore degenerated EDGEs when counting computed sub-meshes
2013-08-23 16:23:57 +00:00
eap
a1c755a149
SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
...
Do not report a compute error if a degenerated EDGE is not computed
2013-08-23 16:22:51 +00:00
eap
cc817cd04f
SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
...
Use SMESH_OctreeNode to sew imported elements to pre-existing ones
2013-08-23 13:38:12 +00:00
eap
dd67430f66
typo
2013-08-23 13:36:41 +00:00
eap
b76d2e608e
SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
...
Re-fix "Regression of XSMESH_TEST/SMESHCOMMON/SMESH_TEST/Grids/smesh/bugs12/M6"
previously fixed by revision 1.23.2.9.
Use TElemOfElemListMap with new comparator TIDTypeCompare instead of
TElemOfElemListMap declared in SMESH_TypeDefs.hxx which uses
TIDCompare (whose behavior has been just restored)
- TElemOfElemListMap aHystory;
+ ::SMESH_MeshEditor::TTElemOfElemListMap aHystory;
2013-08-23 13:36:28 +00:00
eap
38cff1d727
In Save(), no need to push nodes and elements in the map to sort them
...
by ID after SMDS redesign
2013-08-23 13:35:56 +00:00
eap
211c8198b3
SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
...
Re-fix "Regression of XSMESH_TEST/SMESHCOMMON/SMESH_TEST/Grids/smesh/bugs12/M6"
previously fixed by revision 1.23.2.9.
Use TElemOfElemListMap with new comparator TIDTypeCompare instead of
TElemOfElemListMap declared in SMESH_TypeDefs.hxx which uses
TIDCompare (whose behavior has been just restored)
2013-08-23 13:15:52 +00:00
eap
c4b93d024f
SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
...
Fix the problem of element-submesh relation restoring at study loading
in case if some faces have ids lower than segments.
Now TIDCompare does not compare types, a new comparator created for this:
+struct TIDTypeCompare {
2013-08-23 13:11:32 +00:00
eap
3c53917e76
SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
...
Don't use BRep_Tool::Degenerated() which sometimes gives a wrong answer,
use SMESH_Algo::isDegenerated() instead
2013-08-23 07:44:07 +00:00
eap
b293f7af31
compact as soon as all elements removed
2013-08-22 15:37:59 +00:00
eap
616481f67a
0022301: [CEA] Problems with study dump in SMESH (PPGP large study)
...
1) fix CheckObjectPresence() to check presence of not only published
objects but also of e.g. mesh editors etc.
2) Avoid adding empty strings cleared by CheckObjectPresence()
3) Optimize performance of search of myKeepAgrCmdsIDs in commands by
- using _pyStringFamily
- preventing addition of Groups to myKeepAgrCmdsIDs
2013-08-22 12:06:57 +00:00
rnc
954f7dbf60
Merge from BR_size_maps
2013-08-22 11:45:25 +00:00
vsr
b752ff95e4
0021920: [CEA 689] Get some measure functions on groups available in GUI and TUI
...
- additional improvement for Python API to simplify usage of measure functions
2013-08-20 13:48:54 +00:00
eap
fda116565e
enable Tolerance for FT_EqualNodes
2013-08-19 11:52:44 +00:00
eap
4031dc9808
Fix regression of SMESH_TEST/Grids/smesh/imps6/G0
...
Clear _ImportData::_n2n if it's no more useful
2013-08-15 12:10:20 +00:00
eap
dac0310307
Fix regression of SMESH_TEST/Grids/smesh/imps6/G0
...
Reset node data when it is removed
+ ((SMDS_MeshNode*) n)->SMDS_MeshElement::init( -1, -1, -1 ); // avoid reuse
2013-08-15 12:08:51 +00:00
eap
8e84b443fc
In ExportToMEDX() use SMESH_TRY to normally transfer exceptions from the driver
2013-08-14 12:35:03 +00:00
eap
3939500c74
In ExportMED() use SMESH_TRY to normally transfer exceptions from the driver
2013-08-14 12:34:41 +00:00
eap
fcbb13c72e
Fix regression of SMESH_TEST/Grids/smesh/3D_mesh_Extrusion/A3
...
Avoid having straight continuous sides of a quadrilateral
2013-08-13 16:40:46 +00:00
eap
2d070665a5
Fix regression of SMESH_TEST/Grids/smesh/3D_mesh_Extrusion/A3
...
+ static bool isStraight( const TopoDS_Edge & E, const bool degenResult=false );
2013-08-13 16:35:31 +00:00
vsr
4d6cb35b78
Merge from V7_2_BR 09/08/2013
2013-08-12 10:50:36 +00:00
eap
8c589f8585
Suppress SIGSEGV at automatic group creation
2013-08-08 16:45:49 +00:00
vsr
fa3a593199
0021920: [CEA 689] Get some measure functions on groups available in GUI and TUI
2013-08-08 15:17:00 +00:00
eap
fc5cad90e2
Fix regression of GetNumberOfNodes( true )
2013-08-08 13:56:33 +00:00
eap
c4cd7806bc
Optimize compactList()
2013-08-08 12:39:06 +00:00
eap
b19ad3a4fd
decorations
2013-08-08 12:38:43 +00:00
eap
5f791c80a4
Optimize cleanSubMesh( SMESH_subMesh * subMesh ) a bit
2013-08-08 12:38:25 +00:00
eap
e97c496f7d
0022297: BR_new_bop3/Occdev_3f4689a163 => Faces are missing after an extrusion
...
Fix ConvertToQuadratic(): do not convert twice quadratic volumes
2013-08-08 12:36:02 +00:00
eap
c2a497190b
0022297: BR_new_bop3/Occdev_3f4689a163 => Faces are missing after an extrusion
...
Fix IsFreeFace() for a polyhedron
2013-08-08 12:34:43 +00:00
eap
b10e5c9adf
Fix for
...
==3768== Conditional jump or move depends on uninitialised value(s)
==3768== at 0x4C22ED8: strlen (mc_replace_strmem.c:275)
==3768== by 0x1081E60B: std::string::operator=(char const*) (in /usr/lib64/libstdc++.so.6.0.12)
==3768== by 0x40757F29: UNV164::Read(std::basic_ifstream<char, std::char_traits<char> >&, UNV164::TRecord&) (UNV164_Structure.cxx:49)
2013-08-08 11:05:20 +00:00
vsr
74ff246e04
Fix compilation problem
2013-08-08 08:29:15 +00:00
eap
5c95ba9078
Regression of SMESH_SRC/doc/salome/examples/measurements_ex01.py
...
Manage temporary SMESH_IDSource created by MeshEditor::MakeIDSource()
2013-08-07 14:06:39 +00:00
eap
18efd0cad1
sort includes
2013-08-07 14:06:20 +00:00
eap
f3ae24b365
Regression of SMESH_SRC/doc/salome/examples/measurements_ex01.py
...
Do not store temporary SMESH_IDSource created by MakeIDSource()
2013-08-07 14:05:44 +00:00
eap
221416d251
untabify
2013-08-07 11:11:09 +00:00
eap
eb3f817bc6
simplify createHypothesis()
2013-08-07 11:10:59 +00:00
eap
6db4726fc4
0022291: EDF 2712 SMESH: Bad dump of QuadrangleParameters
2013-08-07 11:10:47 +00:00
eap
de76274176
021980: [CEA 708] Import/export GMF does work only if the file extension is ".mesh"
...
Doc about allowed file extension.
2013-08-06 15:16:46 +00:00
fahed
20b497db84
French translation for imp [CEA 750] / MANTIS 22169
2013-08-06 09:26:40 +00:00
vsr
c23ba6b3e4
Fix crash (found by make installcheck) - temporary solution
2013-08-05 16:47:42 +00:00
vsr
f3171e5c4e
Fix crash (found by make installcheck)
2013-08-05 15:45:22 +00:00
eap
9a4f5e4852
progress bar: fix for viscous layers
2013-08-05 12:30:05 +00:00
eap
27a1dc566b
Prevent SIGSEGV
...
if ( !anActor ) anActor = SMESH::CreateActor( aMeshSObj->GetStudy(), aMeshSObj->GetID().c_str(), true );
+ if ( anActor ) // actor is not created for an empty mesh
+ {
+ anActor->SetEntityMode( entities );
2013-08-05 10:58:04 +00:00
vsr
6399cfb3c4
0022169: [CEA 750] Chose before visualization mesh element type to display
...
Improve automatic limit exceed warning message
2013-08-05 08:35:32 +00:00
prascle
ef59152514
PR : merge from V7_2_1p1
...
memory leaks, bug in import 1D for cracks
M src/SMDS/SMDS_UnstructuredGrid.cxx
M src/SMESH/SMESH_MeshEditor.cxx
M src/SMESH/SMESH_MesherHelper.cxx
M src/SMESHUtils/SMESH_MeshAlgos.cxx
M src/SMESHUtils/SMESH_MeshAlgos.hxx
M src/SMESHUtils/SMESH_Octree.hxx
M src/SMESHUtils/SMESH_Tree.hxx
M src/SMESH_PY/smeshstudytools.py
M src/StdMeshers/StdMeshers_Import_1D.cxx
2013-08-03 11:11:12 +00:00
akl
7a89c82974
Correction to avoid memory leaks (links to 0021708: [CEA 586]).
2013-08-01 14:04:27 +00:00
akl
3d0eb30949
Insert SMESH object into use case builder according to the given entry (if it is) instead of simply append it at the end of list.
2013-08-01 08:54:43 +00:00
eap
b5567ce18e
1) SALOME Forum bug: structured mesh is not strictly rectilinear with Viscous Layers.
...
http://www.salome-platform.org/forum/forum_10/998544058
2) Fix failure on a revolved rectangle with a VL on a concave face and a
VL thickness about a half-thickness of the revolved.
2013-07-31 14:30:06 +00:00
boulant
f035f75e60
Remove deprecated files for padder plugin
2013-07-31 12:37:06 +00:00
eap
04fe81eb47
SALOME Forum bug: structured mesh is not strictly rectilinear with Viscous Layers.
...
http://www.salome-platform.org/forum/forum_10/998544058
class SMESH_2D_Algo
{
+ /*!
+ * \brief Method in which an algorithm generating a structured mesh
+ * fixes positions of in-face nodes after there movement
+ * due to insertion of viscous layers.
+ */
+ virtual bool FixInternalNodes(const SMESH_ProxyMesh& mesh,
+ const TopoDS_Face& face);
2013-07-31 11:21:55 +00:00
eap
09020c0206
fix a comment
2013-07-31 11:18:51 +00:00
eap
77e7a1f52b
decorations
2013-07-31 08:12:54 +00:00
boulant
05a97477ee
Remove deprecated files of padder plugin
2013-07-31 07:58:37 +00:00
eap
c979ba741c
0021941: [CEA 699] Use for Auto Color method on mesh group the same
...
algorithm that this one in GEOM which define colors (note 15888)
In AutoColor(), pass a generated color to a group
2013-07-29 12:21:40 +00:00
eap
c17253baf7
Fix GetNodeIndex() for polygon
2013-07-29 12:15:22 +00:00
eap
01d8b02caa
Rm duplicated SMDS_MeshElement::setVtkId(int vtkId)
...
- inline void setVtkId(int vtkId) { myVtkID = vtkId; };
2013-07-29 11:51:02 +00:00
eap
6ae2a9da94
Optimize SMDS_MeshElement::GetNodeIndex()
...
+ virtual int GetNodeIndex( const SMDS_MeshNode* node ) const;
2013-07-29 11:49:21 +00:00
eap
da2b448af1
Optimize SMDS_MeshElement::GetNodeIndex()
...
- int GetNodeIndex( const SMDS_MeshNode* node ) const;
+ virtual int GetNodeIndex( const SMDS_MeshNode* node ) const;
2013-07-29 11:48:56 +00:00
skv
cbb3e2b8bd
0022257: [CEA 900] Regression: on test glue_performance.py
2013-07-25 12:03:04 +00:00
eap
d50d493408
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
...
In createSubMesh() fix getting a sub-mesh ID for a a sub-mesh on group
2013-07-25 09:00:54 +00:00
eap
b8a3fc622b
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
...
- aStudyName = ( (char*)SALOMEDS_Tool::GetNameFromPath( myCurrentStudy->URL() ).c_str() );
+ CORBA::String_var url = myCurrentStudy->URL();
2013-07-25 08:59:30 +00:00
eap
e11c322ee9
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
...
Pb: myLimit leaks if it was not provided at construction
2013-07-24 14:49:27 +00:00
eap
8fe58da2fc
small optimization
2013-07-24 14:48:32 +00:00
eap
4689443745
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
...
- newFaceLocations->Register(this);
- newFaces->Register(this);
2013-07-24 14:46:09 +00:00
rnc
14e8376963
IMP: SMESH: Japanese translations
2013-07-24 13:22:27 +00:00
eap
2e6e5e83cb
dos2unix
2013-07-24 12:43:59 +00:00
eap
45953e0114
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
...
- SALOMEDS::UseCaseBuilder_var useCaseBuilder = theComponent->GetStudy()->GetUseCaseBuilder();
+ SALOMEDS::UseCaseBuilder_wrap useCaseBuilder = theComponent->GetStudy()->GetUseCaseBuilder();
2013-07-24 12:43:34 +00:00
eap
52b6bfaabb
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
...
- QString IOR = app->orb()->object_to_string( theObject );
+ CORBA::String_var ior = app->orb()->object_to_string( theObject );
2013-07-24 12:42:52 +00:00
eap
adab833f26
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
...
+ delete aHistogram;
2013-07-24 12:42:22 +00:00
eap
d0b4e3c141
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
...
Fix a leak of a CORBA object
2013-07-23 14:20:46 +00:00
eap
7608df4ad1
0020976: EDF 1471 SMESH: New ergonomy to display quality controls
...
Make Quality Info dialog look same as Quality Info tab of Mesh Info
dialog: add Help and Dump buttons
2013-07-23 12:35:23 +00:00
eap
eeba8f9c90
Fix treatment of filters after starting usage of AddArgCmd()
2013-07-23 11:41:20 +00:00
eap
60b71b1c6c
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
...
Avoid leaks of CORBA objects at calling TPythonDump() << _this()
Avoid leaks of SMESH_MeshEditor_i
2013-07-22 15:25:50 +00:00
eap
c9d7623239
Avoid leaks of CORBA objects at calling TPythonDump() << _this()
2013-07-22 14:42:25 +00:00
eap
74d40c014d
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
...
Now UnRegister(), corresponding to the Register() called by AttributeIOR,
is invoked by an object publisher i.e. by SMESH_Gen_i::publish() but not by GUI
because GUI is unable to track publication of all objects created by the Engine:
for example groups can be created while mesh.Compute() is called.
2013-07-22 14:40:00 +00:00
eap
5b15666f93
untabify
2013-07-22 14:38:09 +00:00
eap
eb3c0cb3a3
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
...
Fix loading a group on filter:
+ filter->UnRegister();
2013-07-22 14:37:06 +00:00
eap
26d878fd9f
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
...
in SetCriteria():
+ aResPredicate->UnRegister();
2013-07-22 14:36:12 +00:00
eap
997c16d89d
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
...
1) call myFilterDlg->UnRegisterFilters();
2) re-create an actor after converting a group to standalone as a
CORBA object becomes different from that held by the actor
2013-07-22 14:35:30 +00:00
eap
6a8e2f83ff
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
...
+ void UnRegisterFilters();
2013-07-22 14:29:04 +00:00
eap
91084ee58a
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
...
Now UnRegister(), corresponding to the Register() called by AttributeIOR,
is invoked by an object publisher i.e. by SMESH_Gen_i::publish() but not by GUI
because GUI is unable to track publication of all objects created by the Engine:
for example groups can be created while mesh.Compute() is called.
2013-07-22 14:27:40 +00:00
eap
e74e528833
In RemoveElement(), find sub-mesh by elt->getshapeId()
2013-07-22 14:08:46 +00:00
inv
5bdade8015
RNV: Fix link errors.
2013-07-22 12:59:01 +00:00
inv
128dba9aef
Fix link errors.
2013-07-22 12:55:58 +00:00
rnc
094287b4df
BUG: EDF 2655: Hexa splitting into tetra low performance
...
A better fix has been found by improving the getNextFree() method in ObjectPool.hxx. When there is no "hole" in the ID list we don't iterate on the _freeList to find the next free ID. We jump straight to the last occupied ID.
This fix is simpler and can benefit to other methods of SMESH_Editor like QuadTo4Tri for example.
2013-07-22 08:46:57 +00:00
rnc
3f3beb8b95
BUG: EDF 2655: Low performance of hexa to tetra splitting
...
The whole procedure performance was almost O(n^2) due to insertion of for example 5 elements in a mesh with a free ID at the beginning. The second element is then inserted with a O(n) complexity.
The hexas are now removed after all tetra insertions, which guarantees a O(n) complexity for the whole procedure at a limited memory cost (transient additional cost of 1/5 of total memory occupation at the end).
2013-07-19 16:01:27 +00:00
eap
1fa8c22987
untabify
2013-07-17 14:53:51 +00:00
eap
07ba88a295
In ExtrusionAlongPathX() allow defining RefPoint as [x,y,z]
2013-07-17 14:38:25 +00:00
eap
85aae58ead
0020976: EDF 1471 SMESH: New ergonomy to display quality controls
...
1) New general mechanism to avoid dump of functors not used later as arguments
2) Use the New general mechanism to filters and sub-meshes
3) Erase the 1st incarnation of re-created objects.
A re-created object appears e.g. as follows:
- create a mesh
- remove the mesh
- save and re-open the study
- create another mesh -> ( two meshes have same Entry ) == ( the 1st mesh is re-created )
2013-07-17 14:27:42 +00:00
eap
94ce6f40fc
22252: EDF 2684 SMESH: Extrusion along a path with a curvilinear edge
...
Activate selection of the Base Point right at checking its check-box
2013-07-17 08:26:43 +00:00
eap
667c4a210e
22252: EDF 2684 SMESH: Extrusion along a path with a curvilinear edge
...
Allow selecting any node as a Base Point
2013-07-16 14:31:10 +00:00
eap
e7dbe802e0
22252: EDF 2684 SMESH: Extrusion along a path with a curvilinear edge
...
Some decorations in ExtrusionAlongTrack()
2013-07-16 14:30:30 +00:00
rnv
5c69524642
Add MedWrapper to dist_dir
2013-07-10 13:31:04 +00:00
eap
c96730d0aa
Compute Progress bar
2013-07-09 11:59:40 +00:00
eap
42d136bcdc
Compute Progress bar
...
+ bool DependsOn( const SMESH_subMesh* other ) const;
+ int _realComputeCost; // _computeCost depending on presence of needed hypotheses
2013-07-09 11:59:18 +00:00
eap
a311b5af11
Compute Progress bar
...
- int& GetComputeCost() { return _computeCost; }
+ std::vector<SMESH_subMesh*>& SubMeshesToCompute() { return _smToCompute; }
2013-07-09 11:58:41 +00:00
eap
f4ec60b8ca
make Cancel button checkable
2013-07-09 11:57:50 +00:00
akl
7c7b4b0636
0021708: [CEA 586] Object browser sort only children:
...
+ Add Use Case browser data tree management
+ Add "Sort children" contextual menu popup item
+ Update user documentation
2013-07-09 08:32:08 +00:00
eap
e0f019ccf9
Compute Progress bar: ignore sub-meshes that are NOT_READY to compute
2013-07-08 11:27:16 +00:00
eap
8ead976689
Compute Progress bar
...
SMESH_subMeshIteratorPtr getDependsOnIterator(const bool includeSelf,
- const bool complexShapeFirst) const;
+ const bool complexShapeFirst=false) const;
+ int GetComputeCost() const;
TopoDS_Shape getCollection(SMESH_Gen * theGen,
SMESH_Algo* theAlgo,
bool & theSubComputed,
bool & theSubFailed,
+ int & theComputeCost);
+ int _computeCost; // how costly is to compute this sub-mesh
2013-07-03 16:12:38 +00:00
eap
ffa2f0be82
Compute Progress bar
...
+ double GetComputeProgress() const;
+ SMESH_Hypothesis * GetHypothesis(const int aHypID) const;
2013-07-03 16:10:31 +00:00
eap
1481fb61da
- std::map < int, SMESH_Algo * >_mapAlgo;
...
- std::map < int, SMESH_0D_Algo * >_map0D_Algo;
- std::map < int, SMESH_1D_Algo * >_map1D_Algo;
- std::map < int, SMESH_2D_Algo * >_map2D_Algo;
- std::map < int, SMESH_3D_Algo * >_map3D_Algo;
2013-07-03 16:09:54 +00:00
eap
fad96c2870
Compute Progress bar
...
+ virtual double GetProgress() const;
+ double GetProgressByTic() const;
+ int& GetComputeCost() { return _computeCost; }
+ int _computeCost; //!< "compute cost" of shapes being Compute()d
+ int _progressTic; //!< counter of calls from SMESH_Mesh::GetComputeProgress()
+ double _progress; //!< progress of Compute() [0.,1.]
2013-07-03 16:09:28 +00:00
eap
fc8ad974ab
SMESH_Gen::_map1D_Algo no longer exists
2013-07-03 16:07:54 +00:00
eap
ed5bf36e41
1) 0020976: EDF 1471 SMESH: New ergonomy to display quality controls
...
+ static CORBA::Long* GetTemporaryIDs( SMESH::SMESH_IDSource_ptr& idSource, int& nbIds );
+ virtual SMESH::long_array* GetNbElementsByType();
2013-07-03 16:06:14 +00:00
eap
89edbafa37
1) 0020976: EDF 1471 SMESH: New ergonomy to display quality controls
...
+ static CORBA::Long* GetTemporaryIDs( SMESH::SMESH_IDSource_ptr& idSource, int& nbIds );
2013-07-03 16:05:46 +00:00
eap
69da5c7991
1) 0020976: EDF 1471 SMESH: New ergonomy to display quality controls
...
+ virtual SMESH::long_array* GetNbElementsByType();
+ static SMDS_ElemIteratorPtr GetElements(SMESH::SMESH_IDSource_ptr obj,
+ SMESH::ElementType type);
2) Compute Progress bar
+ CORBA::Double GetComputeProgress();
2013-07-03 16:05:28 +00:00
eap
95a58b5ecf
0020976: EDF 1471 SMESH: New ergonomy to display quality controls
...
+ virtual SMESH::long_array* GetNbElementsByType();
2013-07-03 16:04:07 +00:00
eap
38e26e89c3
0020976: EDF 1471 SMESH: New ergonomy to display quality controls
...
interface SMESH_IDSource
{
+ long NbSatisfying( in SMESH::SMESH_IDSource obj );
interface NumericalFunctor: Functor
{
+ Histogram GetLocalHistogram( in short nbIntervals, in boolean isLogarithmic,
+ in SMESH::SMESH_IDSource obj );
2013-07-03 16:03:14 +00:00
eap
7567e381c8
0020976: EDF 1471 SMESH: New ergonomy to display quality controls
...
Optimization for large meshes
2013-07-03 16:02:20 +00:00
eap
f4b63cd2bd
Compute progress bar
2013-07-03 16:01:42 +00:00
eap
49cd1d951a
untabify
2013-07-03 16:00:57 +00:00
eap
35035f1212
0022238: Study dump produced by SMESH refers to undefined variable names
...
void fixFunctorType()
{
+ ASSERT( undef2newItems.rbegin()->first == SMESH::FT_Undefined );
2013-07-02 14:27:15 +00:00
eap
1d05754e58
0022238: Study dump produced by SMESH refers to undefined variable names
...
Fix CheckObjectPresence() again
+ ASSERT( thePartIndex > 0 );
2013-07-02 13:39:05 +00:00
eap
06ef82c3a7
0022238: Study dump produced by SMESH refers to undefined variable names
...
Remove "aStudyBuilder.RemoveObjectWithChildren(SO)" for SO whose
creation command was removed or commented
2013-07-02 12:02:33 +00:00
mpa
a58d128175
0020976: EDF 1471 SMESH: New ergonomy to display quality controls
2013-06-27 12:35:43 +00:00
eap
12d456d34e
CoTech decision: move MEDWrapper from MED to SMESH
2013-06-25 15:23:19 +00:00
eap
aba3423ef3
Bug: not all fields available after switching from the 3-d to an other constructor
...
+ myTextLabel2->show();
+ mySelectButton2->show();
+ myLineEdit2->show();
2013-06-25 13:51:49 +00:00
eap
7a8032bb6e
-// $Header:
2013-06-25 11:57:48 +00:00
eap
9a3c7509b6
CoTech decision: move MEDWrapper from MED to SMESH
...
MED.idl no more exists
- aStr<<"bash -c \""<<getenv("MED_ROOT_DIR")<<"/bin/salome/mprint_version \'"<<theFileName<<"\'\"";
+ aStr<<"bash -c \""<<getenv("SMESH_ROOT_DIR")<<"/bin/salome/mprint_version \'"<<theFileName<<"\'\"";
2013-06-25 11:57:19 +00:00
eap
1500689577
CoTech decision: move MEDWrapper from MED to SMESH
...
MED.idl no more exists
SALOME_MED::MedFileInfo -> SMESH::MedFileInfo
2013-06-25 11:56:49 +00:00
eap
c5add157d7
CoTech decision: move MEDWrapper from MED to SMESH
...
MED.idl no more exists
2013-06-25 11:56:05 +00:00
eap
f107c3dc69
CoTech decision: move MEDWrapper from MED to SMESH
...
MED.idl no more exists
- ## Gets MED Mesh
- # @return an instance of SALOME_MED::MESH
- # @ingroup l1_auxiliary
- def GetMEDMesh(self):
- return self.mesh.GetMEDMesh()
2013-06-25 11:55:34 +00:00
eap
e33c22a1d1
CoTech decision: move MEDWrapper from MED to SMESH
...
+ ../MEDWrapper/Factory/libMEDWrapper.la \
+ ../MEDWrapper/Base/libMEDWrapperBase.la \
+ ../MEDWrapper/V2_2/libMEDWrapper_V2_2.la \
2013-06-25 09:14:40 +00:00
eap
d0aa6dbc4a
CoTech decision: move MEDWrapper from MED to SMESH
...
+#include "MED_Factory.hxx"
2013-06-24 10:09:43 +00:00
eap
4fa06a6894
CoTech decision: move MEDWrapper from MED to SMESH
...
+ -I$(srcdir)/../MEDWrapper/Base \
+ -I$(srcdir)/../MEDWrapper/Factory \
- $(MED_LDFLAGS) \
- -lMEDWrapper \
- -lMEDWrapper_V2_2 \
- -lSalomeIDLMED \
2013-06-24 10:08:26 +00:00
eap
bc2201e3e0
CoTech decision: move MEDWrapper from MED to SMESH
...
+ -I$(srcdir)/../MEDWrapper/Base \
2013-06-24 10:07:56 +00:00
eap
d2061a67e9
CoTech decision: move MEDWrapper from MED to SMESH
...
-#include <MED_Common.hxx>
+#include "MED_Common.hxx"
2013-06-24 10:07:44 +00:00
eap
dbf60372a6
CoTech decision: move MEDWrapper from MED to SMESH
...
- $(MED_CXXFLAGS) \
+ -I$(srcdir)/../MEDWrapper/Base \
2013-06-24 10:07:19 +00:00
eap
beb621c883
CoTech decision: move MEDWrapper from MED to SMESH
...
- void SetFile(const std::string& theFileName);
+ virtual void SetFile(const std::string& theFileName);
2013-06-24 10:06:53 +00:00
eap
7ec258416f
CoTech decision: move MEDWrapper from MED to SMESH
...
+ MEDWrapper \
2013-06-24 10:06:18 +00:00
eap
8cf728d8be
Add English translations to unfinished ones
2013-06-21 10:40:14 +00:00
eap
aa99dc4c2c
Synchronizing with SMESH_msg_en.ts
2013-06-21 08:36:07 +00:00
eap
bc01f35b88
<source>SMESH_GIGABYTE</source>
...
- <translation>%1 G</translation>
+ <translation>%1 GB</translation>
2013-06-21 08:35:49 +00:00
vsr
bcb546c1b2
0022169: [CEA 750] Chose before visualization mesh element type to display
2013-06-21 05:33:07 +00:00
eap
9ad61d3503
Show free RAM while computing the mesh
2013-06-20 14:29:16 +00:00
eap
5dcd4d5ae9
+ SUIT_OverrideCursor wc;
2013-06-20 13:05:03 +00:00
kga
14570f80e3
0020976: EDF 1471 SMESH: New ergonomy to display quality controls
...
fix v1
2013-06-19 07:46:33 +00:00
cvw
51aa4c4a2d
deprecated v7 import smesh, studyBuilder modification
2013-06-18 08:34:04 +00:00
cvw
ca40d2121f
merge from BR_pluginMGCleaner tag mergeto_v7_main_17jun13
2013-06-18 08:31:15 +00:00
cvw
dc02ba1daa
merge from BR_pluginMGCleaner tag mergeto_v7_main_17jun13
2013-06-17 14:56:45 +00:00
cvw
3d7ec410f2
best warning on qlineedit for double value
2013-06-17 14:49:25 +00:00
cvw
071166030d
deprecated import smesh smeshBuilder
2013-06-14 11:56:20 +00:00
cvw
3bd0a20a52
add SMESH plugin MGCleaner
2013-06-13 13:50:31 +00:00
cvw
739951e33d
bug
2013-06-13 13:47:53 +00:00
cvw
02df1b69aa
add SMESH plugin MGCleaner
2013-06-13 13:38:35 +00:00
eap
25008e4a96
21952: EDF 2383 SMESH : Add an option to write planar meshes as 3D meshes in MED files
...
Correct position of autoDimension in ExportMED()
2013-06-11 11:51:44 +00:00
eap
9a93fe49f9
0022229: [CEA 829] Error "Edge multiple times in surface mesh"
...
Fix IsReversedSubMesh(), avoid getting uv on a faces at a singularity
point of sphere
2013-06-11 10:24:55 +00:00
eap
4fecefcc2b
0021952: Add an option to write planar meshes as 3D meshes in MED files
2013-06-05 15:13:53 +00:00
eap
dfe28da84c
avoid "unused variable" compilation warnings
2013-06-05 10:04:09 +00:00
eap
543e7425c7
avoid compilation warnings
2013-06-05 09:59:53 +00:00
eap
bd8276e43f
avoid compilation warnings in release mode
2013-06-05 09:49:03 +00:00
eap
973402fcd3
avoid compilation warnings in release mode
2013-06-05 09:39:43 +00:00
eap
6c81f9a1e5
0022103: EDF 2550 SMESH : Allow viscous layer with 3D extrusion
...
= Allow viscous layers on boundary EDGEs of a 2D sub-mesh
2013-06-04 15:05:51 +00:00
eap
d98ea3bd2b
0022103: EDF 2550 SMESH : Allow viscous layer with 3D extrusion
...
= Allow viscous layers on boundary EDGEs of a 2D sub-mesh
Have a separate SMESH_MesherHelper in each TSideFace in order to get a
correct UV on periodic FACE
2013-06-04 15:05:28 +00:00
eap
9ebd1fea41
0022103: EDF 2550 SMESH : Allow viscous layer with 3D extrusion
...
= Allow viscous layers on boundary EDGEs of a 2D sub-mesh
In GetUVPtStruct(), update normParam when reloading points from a proxy
mesh in a reversed order
2013-06-04 15:03:15 +00:00
eap
dccff92fcb
0022103: EDF 2550 SMESH : Allow viscous layer with 3D extrusion
...
= Allow viscous layers on boundary EDGEs of a 2D sub-mesh
In ComputeParameters(), more attempts to get a correct result
2013-06-04 15:00:45 +00:00
eap
b61aaf79a6
0022103: EDF 2550 SMESH : Allow viscous layer with 3D extrusion
...
= Allow viscous layers on boundary EDGEs of a 2D sub-mesh
Redesign onCriterionChanged() to avoid SIGSEGV on a comboItem of an
improper side
2013-06-04 14:59:12 +00:00
eap
a77a5a1a51
0022103: EDF 2550 SMESH : Allow viscous layer with 3D extrusion
...
= Allow viscous layers on boundary EDGEs of a 2D sub-mesh
Make const GetNodeU()
2013-06-04 14:58:08 +00:00
eap
ea2fec5674
- //_face.Orientation( TopAbs_FORWARD );
...
+ _face.Orientation( TopAbs_FORWARD ); // 2D logic works only in this case
2013-05-31 11:56:48 +00:00
eap
083e873dfe
check orientation when re-loading points from a proxy mesh
2013-05-31 11:56:32 +00:00
eap
65c94961fc
take care of a correct orientation (attempt No2 )
2013-05-30 16:35:57 +00:00
eap
05c6c409ee
take care of a correct orientation
2013-05-30 16:28:03 +00:00
eap
708660afc3
"import python files corresponding to plugins" is not needed (since long time)
2013-05-30 14:32:41 +00:00
eap
f72c766475
untabify and
...
-#ifdef WITHGENERICOBJ
2013-05-30 14:20:52 +00:00
eap
036be279a4
0022104: EDF 2550 SMESH: 2D viscous layer, allow specifying edges with viscous layer
...
Provide access to QLabel's of parameters:
+ QLabel* getLabel(int i) const;
+ ListOfWidgets myParamLabels;
2013-05-30 14:20:00 +00:00
eap
9f9b06a194
0022104: EDF 2550 SMESH: 2D viscous layer, allow specifying edges with viscous layer
...
- def ViscousLayers2D(self, thickness, numberOfLayers, stretchFactor, ignoreEdges=[]):
+ def ViscousLayers2D(self, thickness, numberOfLayers, stretchFactor,
+ edges=[], isEdgesToIgnore=True ):
2013-05-30 14:18:23 +00:00
eap
62c442d05f
0022104: EDF 2550 SMESH: 2D viscous layer, allow specifying edges with viscous layer
2013-05-30 14:17:56 +00:00
eap
cb2ff0ef70
0022104: EDF 2550 SMESH: 2D viscous layer, allow specifying edges with viscous layer
...
In addition to implementing IMP, avoid "limiting" _thickness to zero:
- _thickness = Min( _hyp->GetTotalThickness(), maxPossibleThick );
+ if ( maxPossibleThick > 0. )
+ _thickness = Min( _hyp->GetTotalThickness(), maxPossibleThick );
2013-05-30 14:15:57 +00:00
eap
4a87093dce
0022104: EDF 2550 SMESH: 2D viscous layer, allow specifying edges with viscous layer
...
+ void SetBndShapes(const std::vector<int>& shapeIds, bool toIgnore);
+ std::vector<int> GetBndShapes() const { return _shapeIds; }
+ bool IsToIgnoreShapes() const { return _isToIgnoreShapes; }
private:
- std::vector<int> _ignoreBndShapeIds;
+ std::vector<int> _shapeIds;
+ bool _isToIgnoreShapes;
2013-05-30 14:14:31 +00:00
inv
a29849f24b
Compatibility with gcc 4.1 (centos 5)
2013-05-30 08:02:04 +00:00
eap
abdbef3f20
22222: [CEA 820] GHS3D in salome 7.2.0 ten times slower than in salome 6.6.0
...
In MakeComputed(), call SMESH_Gen::Compute() with aShapeOnly = true
- return gen->Compute( *mesh, shape );
+ return gen->Compute( *mesh, shape, /*shapeOnly=*/true );
2013-05-29 15:32:30 +00:00
eap
557a9b549c
22222: [CEA 820] GHS3D in salome 7.2.0 ten times slower than in salome 6.6.0
...
- if ( myGen.Compute( myLocMesh, myLocShape, false, aDim, &shapeIds ) )
+ if ( myGen.Compute( myLocMesh, myLocShape, false, false, aDim, &shapeIds ) )
The 3-d parameter aShapeOnly added to SMESH_Gen::Compute()
2013-05-29 15:31:16 +00:00
eap
e884e4cd7e
22222: [CEA 820] GHS3D in salome 7.2.0 ten times slower than in salome 6.6.0
...
Choose a compute event (COMPUTE or COMPUTE_SUBMESH) depending on an
explicit parameter aShapeOnly.
bool Compute(::SMESH_Mesh & aMesh,
const TopoDS_Shape & aShape,
+ const bool aShapeOnly=false,
const bool anUpward=false,
const ::MeshDimension aDim=::MeshDim_3D,
TSetOfInt* aShapesId=0);
2013-05-29 15:29:19 +00:00
eap
ccd189545b
0022136: EDF 2345 SMESH: Improving documentation of Quadrangle mapping with the type "Reduced"
...
1) Send a warning if Reduced transition can't be used.
2) Fix SIGSEGV for the case of nbRows = 1, nbTop = 4, nbBot = 16
2013-05-29 13:41:51 +00:00
eap
cbfe948334
Make ElemEntityType pass nodes through as well
2013-05-28 16:51:03 +00:00
eap
dc9f23c3cd
0022108: EDF 2547 SMESH: Duplicate elements only
...
+ def DoubleElements(self, theElements, theGroupName=""):
2013-05-28 16:49:24 +00:00
eap
251eb76e54
0022108: EDF 2547 SMESH: Duplicate elements only
...
Modify UniqueName() to look through all objects (groups, sub-meshes
etc) and not only meshes.
2013-05-28 16:49:06 +00:00
eap
4effbfc0dc
0022108: EDF 2547 SMESH: Duplicate elements only
2013-05-28 16:47:51 +00:00
eap
5cc99bd09d
0022108: EDF 2547 SMESH: Duplicate elements only
...
1)
+ SMESH::SMESH_Group_ptr DoubleElements(SMESH::SMESH_IDSource_ptr theElements,
+ const char* theGroupName)
2) set mesh to a filter
+ void prepareIdSource(SMESH::SMESH_IDSource_ptr theObject);
2013-05-28 16:46:20 +00:00
eap
2de5e478f7
0022108: EDF 2547 SMESH: Duplicate elements only
...
1)
+ void _pyGen::addFilterUser( Handle(_pyCommand)& theCmd, const Handle(_pyObject)& user );
2)
+ * \brief Replaces "mesh.GetIDSource([id1,id2])" argument of a given command by
+ * a list "[id1,id2]" if the list is an accesible type of argument.
+ */
+ void GetIDSourceToList( Handle( _pyCommand)& theCommand )
3)
+ * \brief Replaces "SMESH.PointStruct(x,y,z)" and "SMESH.DirStruct( SMESH.PointStruct(x,y,z))"
+ * arguments of a given command by a list "[x,y,z]" if the list is accesible
+ * type of argument.
+ */
+ void StructToList( Handle( _pyCommand)& theCommand )
2013-05-28 16:45:15 +00:00
eap
eb58d6d004
0022108: EDF 2547 SMESH: Duplicate elements only
...
+ void _pyGen::addFilterUser( Handle(_pyCommand)& theCmd, const Handle(_pyObject)& user );
2013-05-28 16:43:28 +00:00
eap
fec22e7699
0022108: EDF 2547 SMESH: Duplicate elements only
...
1)
+ void DoubleElements( const TIDSortedElemSet& theElements );
2)
+ template < class ELEM_SET >
+ SMDS_ElemIteratorPtr elemSetIterator( const ELEM_SET& elements );
2013-05-28 16:42:11 +00:00
eap
9d998b2291
0022108: EDF 2547 SMESH: Duplicate elements only
...
+ void DoubleElements( const TIDSortedElemSet& theElements );
2013-05-28 16:41:32 +00:00
eap
c25ddc7d49
0022108: EDF 2547 SMESH: Duplicate elements only
...
More filters
+ struct Filter
+ {
+ virtual bool operator()(const SMDS_MeshElement* e) const = 0;
+ ~Filter() {}
+ };
+ struct NonNullFilter: public Filter
2013-05-28 16:41:00 +00:00
eap
c922a9cc64
Fix GetNode() for polyhedron
2013-05-28 16:40:15 +00:00
akl
1227aa421b
Fix of 0022218: EDF 2638 SMESH: Issue when importing UNV file:
...
read the whole line instead of chars set.
2013-05-28 08:52:35 +00:00
eap
d9e7f2c591
0022218: EDF 2638 SMESH: Issue when importing UNV file
...
- const size_t theMaxLineLen = 82;
+ const size_t theMaxLineLen = 82; // 80 for text + 2 for "\r\n"
2013-05-28 08:33:47 +00:00
akl
96625f32df
Fix of 0022218: EDF 2638 SMESH: Issue when importing UNV file:
...
set the correct number of symbols to read the given coordinate system data.
2013-05-28 08:16:34 +00:00
vsr
2cbc0e004d
Fix regression (SIGSEGV) caused by improvement 0022099
2013-05-27 14:50:33 +00:00
eap
a541c7e70e
0022216: EDF 2613 SMESH: Projection 1D with multi-dimensional algo (Netgen 1D-2D or BLSurf...)
...
Improve MakeComputed to compute a source sub-mesh using an
all-dimensional algo of dim greater than dim of the given sub-mesh
2013-05-27 14:04:00 +00:00
eap
6b2c537fcd
0022216: EDF 2613 SMESH: Projection 1D with multi-dimensional algo (Netgen 1D-2D or BLSurf...)
...
int GetHypotheses(const TopoDS_Shape & aSubShape,
const SMESH_HypoFilter& aFilter,
list <const SMESHDS_Hypothesis * >& aHypList,
const bool andAncestors,
+ list< TopoDS_Shape > * assignedTo=0) const
2013-05-27 14:01:40 +00:00
eap
fce384ca68
Fix a typo nagate -> negate
2013-05-27 14:00:27 +00:00
eap
6a6b89f677
0022216: EDF 2613 SMESH: Projection 1D with multi-dimensional algo (Netgen 1D-2D or BLSurf...)
...
Fix checkConformIgnoredAlgos() to prevent warning on hiding a local
algo by a local all-dimensional algo of upper dim.
2013-05-27 13:59:56 +00:00
eap
4443257370
Make const GetAppliedHypothesis() and GetUsedHypothesis()
2013-05-27 13:56:30 +00:00
eap
b4fdb7ebde
0022172: [CEA 790] create the groups corresponding to domains
...
Allow calling Create() and Assign() with geom == None
2013-05-24 12:01:17 +00:00
eap
2c17372e2f
0022172: [CEA 790] create the groups corresponding to domains
...
Fix treating a warning sent by algorithm.Compute() - print "Warning"
instead of "Error"
2013-05-24 12:00:21 +00:00
eap
401090842f
0022172: [CEA 790] create the groups corresponding to domains
...
Fix dump of AddHypothesis() in the case w/o geometry
2013-05-24 11:57:38 +00:00
eap
0f7414545b
0022172: [CEA 790] create the groups corresponding to domains
...
1) Do not erase "mesh.Compute()" command if the next command
"[ group1, group2 ] = mesh.GetGroups()" dumps groups created by some algorithm.
2) Clear "mesh.RemoveGroup( group )" command
3) Clear "[ group1, group2 ] = mesh.GetGroups()" command if the groups
are removed later.
2013-05-24 11:55:12 +00:00
eap
7b5176ec4d
0022172: [CEA 790] create the groups corresponding to domains
...
Prepend "Warning" to error description with code==COMPERR_WARNING
2013-05-24 11:49:50 +00:00
eap
10a6101340
0022172: [CEA 790] create the groups corresponding to domains
...
1) Reset _algo = 0 if ( event == REMOVE_ALGO || event == REMOVE_FATHER_ALGO )
2) Avoid erasing _computeError holding a WARNING is algo->Compute() returns true
- if ( !_computeError || ( !ret && _computeError->IsOK() ) )
+ if ( !_computeError || (/* !ret && */_computeError->IsOK() ) )
_computeError = algo->GetComputeError();
3) Fix notifyListenersOnEvent():
- if ( !isDeletable || !_eventListeners.count( li_da.first ))
+ if ( !isDeletable || _eventListeners.count( li_da.first ))
li_da.first->myBusySM.erase( this ); // a listener is hopefully not dead
2013-05-24 11:46:27 +00:00
eap
610978f5f6
Treat Scale commands
2013-05-22 16:05:06 +00:00
vsr
5de80d5f32
0022101: EDF 2492 SMESH: Update Destination field when "Find closest to destination" is unchecked in "Move node"
2013-05-22 15:48:24 +00:00
eap
5dcf8c6597
0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles
2013-05-22 15:36:05 +00:00
eap
f96a5f853b
0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles
...
+ def QuadTo4Tri (self, theElements=[]):
2013-05-22 15:35:28 +00:00
eap
741e8ae522
0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles
...
Treat SMESH_MeshEditor::QuadTo4Tri()
2013-05-22 15:34:17 +00:00
eap
ba9f67eab1
0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles
...
+ void QuadTo4Tri (SMESH::SMESH_IDSource_ptr theObject)
2013-05-22 15:33:27 +00:00
vsr
b07f27826f
0022099: EDF 2307 SMESH: Apply a transformation to several meshes, sub-meshes or groups
2013-05-22 15:25:18 +00:00
eap
751d20eca2
0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles
...
+ void QuadTo4Tri (TIDSortedElemSet & theElems);
2013-05-22 14:58:32 +00:00
eap
8506f58d10
0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles
...
Fix position of a central node of a distorted bi-quadratic triangle
+ * \brief Return UV for the central node of a biquadratic triangle
+ */
+ static gp_XY GetCenterUV(const gp_XY& uv1,
+ const gp_XY& uv2,
+ const gp_XY& uv3,
+ const gp_XY& uv12,
+ const gp_XY& uv23,
+ const gp_XY& uv31,
+ bool * isBadTria=0);
2013-05-22 14:58:06 +00:00
eap
82b050103f
+ void SetParameters(double aUparam, double aVparam);
2013-05-22 14:54:20 +00:00
vsr
686e5fb3ee
0022097: EDF 2408 SMESH: Hide ID of double node in the function "Merge nodes"
2013-05-22 14:03:03 +00:00
vsr
10e0608dee
0022097: EDF 2408 SMESH: Hide ID of double node in the function "Merge nodes"
2013-05-22 13:35:08 +00:00
vsr
e0528f4426
Fix problem with highlighting polyhedrons
2013-05-22 13:20:53 +00:00
vsr
e87a86a68d
0021941: [CEA 699] Use for Auto Color method on mesh group the same algorithm that this one in GEOM which define colors.
2013-05-21 14:57:30 +00:00
eap
88068fce89
0022107: EDF 2502 SMESH: Publish the result of show bad mesh in a group
2013-05-21 09:09:04 +00:00
eap
f70691d5a4
Fix a doc of GetFilter()
...
+ # @param mesh the mesh to initialize the filter with
# @return SMESH_Filter
#
# <a href="../tui_filters_page.html#tui_filters">Example of Filters usage</a>
# @ingroup l1_controls
def GetFilter(self,elementType,
2013-05-21 09:08:25 +00:00
eap
af65a4c6c9
0022107: EDF 2502 SMESH: Publish the result of show bad mesh in a group
...
+ // Create groups of elements preventing computation of a sub-shape
+ SMESH::ListOfGroups* MakeGroupsOfBadInputElements( int theSubShapeID,
+ const char* theGroupName)
+ throw (SALOME::SALOME_Exception);
2013-05-21 09:07:16 +00:00
eap
dcd520f576
0022107: EDF 2502 SMESH: Publish the result of show bad mesh in a group
...
+ // Create groups of elements preventing computation of a sub-shape
+ SMESH::ListOfGroups* MakeGroupsOfBadInputElements( SMESH::SMESH_Mesh_ptr theMesh,
+ CORBA::Short theSubShapeID,
+ const char* theGroupName)
+ throw ( SALOME::SALOME_Exception );
2013-05-21 09:06:43 +00:00
eap
46654775eb
In GetSubMesh(), assure calling fillAncestorsMap() for each compound
...
(take into account that a compound can be added to SMESHDS_Mesh at
creation of group on geometry)
2013-05-20 09:11:12 +00:00
akl
e69867dda8
Fix to take into account qudratic edges also.
2013-05-17 12:26:06 +00:00
eap
7c9cf53741
untabify
2013-05-16 17:18:39 +00:00
eap
0e9e37a6e8
0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
...
0022100: EDF 2413 SMESH: Take into account TRIA7
2013-05-16 17:18:28 +00:00
eap
9791c651e7
0022100: EDF 2413 SMESH: Take into account TRIA7
2013-05-16 17:17:56 +00:00
eap
7c9baff7a5
indentation
2013-05-16 17:16:44 +00:00
eap
50e4126336
0022100: EDF 2413 SMESH: Take into account TRIA7
...
+ case 4137: // BIQUADRATIC TRIANGLE
Support all types of elements in DAT format files
2013-05-16 17:15:56 +00:00
eap
b93c19aaa2
untabify
2013-05-16 17:09:28 +00:00
eap
8df43f2a70
0022195: EDF SMESH: Mesh using existing elements.
2013-05-16 17:08:45 +00:00
eap
9b739aaa01
0022195: EDF SMESH: Mesh using existing elements.
...
In Compute() call assure the source mesh is loaded:
_sourceHyp->GetGroups(/*loaded=*/true);
In getMaps(), do not clear n2n map to assure sharing nodes on EDGEs
for adjacent FACEs
2013-05-16 17:06:42 +00:00
eap
3010de27c3
0022195: EDF SMESH: Mesh using existing elements.
...
To load the mesh owning source groups
- const std::vector<SMESH_Group*>& GetGroups() const;
+ const std::vector<SMESH_Group*>& GetGroups(bool loaded=false) const;
2013-05-16 17:02:10 +00:00
eap
42491f3cb5
0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
...
+#include "SMESH_MeshAlgos.hxx"
2013-05-16 16:58:08 +00:00
eap
f2160ad9de
+ subMeshOfSolid->ComputeStateEngine( SMESH_subMesh::CHECK_COMPUTE_STATE );
2013-05-16 16:55:53 +00:00
eap
22dd2b977a
0022100: EDF 2413 SMESH: Take into account TRIA7
...
0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
+ def NbBiQuadTriangles(self):
+ def ClearLastCreated(self):
def GetFilter(self,elementType,
CritType=FT_Undefined,
Compare=FT_EqualTo,
Threshold="",
UnaryOp=FT_Undefined,
Tolerance=1e-07,
+ mesh=None):
2013-05-16 16:55:14 +00:00
eap
70fad16a15
0022100: EDF 2413 SMESH: Take into account TRIA7
2013-05-16 16:53:18 +00:00
eap
998c774c5d
0022100: EDF 2413 SMESH: Take into account TRIA7
...
+ CORBA::Long NbBiQuadTriangles()
2013-05-16 16:49:03 +00:00
eap
3a8dfa1bdb
+#include "SMESH_MeshAlgos.hxx"
...
+// A macro used in SMESH_TryCatch.hxx,
+// it re-raises a CORBA SALOME exception thrown by SMESH_MeshEditor_i and caught by SMESH_CATCH
+#define SMY_OWN_CATCH \
+ catch ( SALOME::SALOME_Exception & e ) { throw e; }
+ void ClearLastCreated() throw (SALOME::SALOME_Exception);
2013-05-16 16:48:19 +00:00
eap
143bb6d8a6
+ void ClearLastCreated() throw (SALOME::SALOME_Exception);
2013-05-16 16:46:57 +00:00
eap
b47c581141
0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
...
+ class SMESH_I_EXPORT ConnectedElements_i: public virtual POA_SMESH::ConnectedElements,
+ public virtual Predicate_i
+ ConnectedElements_ptr CreateConnectedElements();
2013-05-16 16:46:26 +00:00
eap
9be03d1b02
0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
2013-05-16 16:45:34 +00:00
eap
765c100cd0
0022100: EDF 2413 SMESH: Take into account TRIA7
...
0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
2013-05-16 16:44:02 +00:00
eap
45157dd914
0022100: EDF 2413 SMESH: Take into account TRIA7
...
+ aFilter->RegisterCellsWithType(VTK_BIQUADRATIC_TRIANGLE);
2013-05-16 16:41:58 +00:00
eap
7868270178
0022100: EDF 2413 SMESH: Take into account TRIA7
...
decompose bi-quadratic elements using the central node of face
2013-05-16 16:41:30 +00:00
eap
3e2ff42c86
1) Remove writing into stdout
...
2) Support all types of elements
2013-05-16 16:39:55 +00:00
eap
6d0acadd44
0022100: EDF 2413 SMESH: Take into account TRIA7
2013-05-16 16:38:48 +00:00