Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ménage
[modules/smesh.git]
/
src
/
StdMeshers
/
StdMeshers_CompositeHexa_3D.cxx
diff --git
a/src/StdMeshers/StdMeshers_CompositeHexa_3D.cxx
b/src/StdMeshers/StdMeshers_CompositeHexa_3D.cxx
index b3e420619c48de4e03a0b0b87ade22bbc5c92696..fcb115f414bffe2cc0f1088a40c2899c6560ee2b 100644
(file)
--- a/
src/StdMeshers/StdMeshers_CompositeHexa_3D.cxx
+++ b/
src/StdMeshers/StdMeshers_CompositeHexa_3D.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-202
0
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-202
1
CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-44,6
+44,7
@@
#include <BRepAdaptor_Surface.hxx>
#include <BRep_Tool.hxx>
#include <BRepAdaptor_Surface.hxx>
#include <BRep_Tool.hxx>
+#include <Bnd_B3d.hxx>
#include <Standard_ErrorHandler.hxx>
#include <Standard_Failure.hxx>
#include <TopExp_Explorer.hxx>
#include <Standard_ErrorHandler.hxx>
#include <Standard_Failure.hxx>
#include <TopExp_Explorer.hxx>
@@
-61,10
+62,9
@@
#include <gp_XYZ.hxx>
#include <list>
#include <gp_XYZ.hxx>
#include <list>
+#include <numeric>
#include <set>
#include <vector>
#include <set>
#include <vector>
-#include <numeric>
-#include <Bnd_B3d.hxx>
using namespace std;
using namespace std;
@@
-289,8
+289,8
@@
StdMeshers_CompositeHexa_3D::StdMeshers_CompositeHexa_3D(int hypId, SMESH_Gen* g
*/
//================================================================================
*/
//================================================================================
-bool StdMeshers_CompositeHexa_3D::CheckHypothesis(SMESH_Mesh&
aMesh
,
- const TopoDS_Shape&
aShape
,
+bool StdMeshers_CompositeHexa_3D::CheckHypothesis(SMESH_Mesh&
/*aMesh*/
,
+ const TopoDS_Shape&
/*aShape*/
,
Hypothesis_Status& aStatus)
{
_blockRenumberHyp = nullptr;
Hypothesis_Status& aStatus)
{
_blockRenumberHyp = nullptr;
@@
-1480,7
+1480,7
@@
bool _QuadFaceGrid::LoadGrid( SMESH_ProxyMesh& mesh )
if ( fIt->next()->NbNodes() % 4 > 0 )
return error("Non-quadrangular mesh faces are not allowed on sides of a composite block");
if ( fIt->next()->NbNodes() % 4 > 0 )
return error("Non-quadrangular mesh faces are not allowed on sides of a composite block");
- bool isProxy
, isTmpElem
;
+ bool isProxy
= false, isTmpElem = false
;
if ( faceSubMesh && faceSubMesh->NbElements() > 0 )
{
isProxy = dynamic_cast< const SMESH_ProxyMesh::SubMesh* >( faceSubMesh );
if ( faceSubMesh && faceSubMesh->NbElements() > 0 )
{
isProxy = dynamic_cast< const SMESH_ProxyMesh::SubMesh* >( faceSubMesh );
@@
-1896,7
+1896,7
@@
bool _QuadFaceGrid::GetNormal( const TopoDS_Vertex& v, gp_Vec& n ) const
n = d1u.Crossed( d1v );
return true;
}
n = d1u.Crossed( d1v );
return true;
}
- catch (Standard_Failure) {
+ catch (Standard_Failure
&
) {
return false;
}
}
return false;
}
}