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
Merge 'master' branch into 'V9_dev' branch.
[modules/smesh.git]
/
src
/
SMDS
/
SMDS_BallElement.cxx
diff --git
a/src/SMDS/SMDS_BallElement.cxx
b/src/SMDS/SMDS_BallElement.cxx
index 299093c94f6e81a3a865f1f730ff3d6680737ccb..fd3859681325b9784447cf98be9a954d34516b46 100644
(file)
--- a/
src/SMDS/SMDS_BallElement.cxx
+++ b/
src/SMDS/SMDS_BallElement.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2010-201
5
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2010-201
6
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
@@
-17,7
+17,7
@@
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-// SMESH SMDS : implementaion of Salome mesh data structure
+// SMESH SMDS : implementa
t
ion of Salome mesh data structure
// Module : SMESH
// File : SMDS_BallElement.cxx
// Author : Edward AGAPOV (eap)
// Module : SMESH
// File : SMDS_BallElement.cxx
// Author : Edward AGAPOV (eap)
@@
-47,10
+47,9
@@
SMDS_BallElement::SMDS_BallElement(vtkIdType nodeId, double diameter, SMDS_Mesh*
void SMDS_BallElement::init(vtkIdType nodeId, double diameter, SMDS_Mesh* mesh)
{
SMDS_MeshCell::init();
void SMDS_BallElement::init(vtkIdType nodeId, double diameter, SMDS_Mesh* mesh)
{
SMDS_MeshCell::init();
- SMDS_UnstructuredGrid* grid = mesh->getGrid();
- myVtkID = grid->InsertNextLinkedCell( GetVtkType(), 1, &nodeId );
myMeshId = mesh->getMeshId();
myMeshId = mesh->getMeshId();
- grid->SetBallDiameter( myVtkID, diameter );
+ myVtkID = mesh->getGrid()->InsertNextLinkedCell( GetVtkType(), 1, &nodeId );
+ mesh->getGrid()->SetBallDiameter( myVtkID, diameter );
mesh->setMyModified();
}
mesh->setMyModified();
}