Version: 6.3.1
Defines | Functions | Variables

src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx File Reference

#include "DriverMED_R_SMESHDS_Mesh.h"
#include "DriverMED_R_SMDS_Mesh.h"
#include "SMESHDS_Mesh.hxx"
#include "utilities.h"
#include "DriverMED_Family.h"
#include "SMESHDS_Group.hxx"
#include "MED_Factory.hxx"
#include "MED_CoordUtils.hxx"
#include "MED_Utilities.hxx"
#include <stdlib.h>
Include dependency graph for DriverMED_R_SMESHDS_Mesh.cxx:

Go to the source code of this file.

Defines

#define _EDF_NODE_IDS_

Functions

static const SMDS_MeshNodeFindNode (const SMDS_Mesh *theMesh, TInt theId)

Variables

static int MYDEBUG = 0

Define Documentation

#define _EDF_NODE_IDS_

Definition at line 49 of file DriverMED_R_SMESHDS_Mesh.cxx.


Function Documentation

static const SMDS_MeshNode* FindNode ( const SMDS_Mesh theMesh,
TInt  theId 
) [static]

Definition at line 62 of file DriverMED_R_SMESHDS_Mesh.cxx.

References EXCEPTION, and SMDS_Mesh.FindNode().

Referenced by SMESH_MeshEditor_i.AddEdge(), DriverMED_R_SMESHDS_Mesh.Perform(), and SMESH_Client.Update().

                                              {
  const SMDS_MeshNode* aNode = theMesh->FindNode(theId);
  if(aNode) return aNode;
  EXCEPTION(runtime_error,"SMDS_Mesh::FindNode - cannot find a SMDS_MeshNode for ID = "<<theId);
}

Variable Documentation

int MYDEBUG = 0 [static]

Definition at line 46 of file DriverMED_R_SMESHDS_Mesh.cxx.

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS