Back to index

salome-smesh  6.5.0
Public Member Functions | Static Public Member Functions | Public Attributes
VISCOUS::_MeshOfSolid Struct Reference

SMESH_ProxyMesh computed by _ViscousBuilder for a SOLID. More...

Inheritance diagram for VISCOUS::_MeshOfSolid:
Inheritance graph
Collaboration diagram for VISCOUS::_MeshOfSolid:
Collaboration graph

List of all members.

Public Member Functions

 _MeshOfSolid (SMESH_Mesh *mesh)
SMESH_ProxyMesh::SubMesh * getFaceSubM (const TopoDS_Face &F, bool create=false)
void setNode2Node (const SMDS_MeshNode *srcNode, const SMDS_MeshNode *proxyNode, const SMESH_ProxyMesh::SubMesh *subMesh)
bool IsDeletable () const

Static Public Member Functions

MakeData (SMESH_subMesh *dependentSM, const int type=0)
 Create a default listener data.

Public Attributes

bool _n2nMapComputed
bool myIsDeletable
 if true, it will be deleted by SMESH_subMesh
int myType
 to recognize data type
std::list< SMESH_subMesh * > mySubMeshes

Detailed Description

SMESH_ProxyMesh computed by _ViscousBuilder for a SOLID.

It is stored in a SMESH_subMesh of the SOLID as SMESH_subMeshEventListenerData

Definition at line 95 of file StdMeshers_ViscousLayers.cxx.

Constructor & Destructor Documentation

VISCOUS::_MeshOfSolid::_MeshOfSolid ( SMESH_Mesh *  mesh) [inline]

Definition at line 100 of file StdMeshers_ViscousLayers.cxx.

      :SMESH_subMeshEventListenerData( /*isDeletable=*/true),_n2nMapComputed(false)
      SMESH_ProxyMesh::setMesh( *mesh );

Member Function Documentation

SMESH_ProxyMesh::SubMesh* VISCOUS::_MeshOfSolid::getFaceSubM ( const TopoDS_Face &  F,
bool  create = false 
) [inline]

Definition at line 107 of file StdMeshers_ViscousLayers.cxx.

      TGeomID i = SMESH_ProxyMesh::shapeIndex(F);
      return create ? SMESH_ProxyMesh::getProxySubMesh(i) : findProxySubMesh(i);

Here is the caller graph for this function:

bool SMESH_subMeshEventListenerData::IsDeletable ( ) const [inline, inherited]

Definition at line 97 of file SMESH_subMeshEventListener.hxx.

{ return myIsDeletable; }
static SMESH_subMeshEventListenerData* SMESH_subMeshEventListenerData::MakeData ( SMESH_subMesh *  dependentSM,
const int  type = 0 
) [inline, static, inherited]

Create a default listener data.

dependentSM- subMesh to store
type- data type
Return values:
SMESH_subMeshEventListenerData*- a new listener data

See SMESH_subMeshEventListener::ProcessEvent() to know how the default listener uses it (implementation is in SMESH_subMesh.cxx)

Definition at line 108 of file SMESH_subMeshEventListener.hxx.

    SMESH_subMeshEventListenerData* data = new SMESH_subMeshEventListenerData(true);
    data->mySubMeshes.push_back( dependentSM );
    data->myType = type;
    return data;

Here is the call graph for this function:

Here is the caller graph for this function:

void VISCOUS::_MeshOfSolid::setNode2Node ( const SMDS_MeshNode *  srcNode,
const SMDS_MeshNode *  proxyNode,
const SMESH_ProxyMesh::SubMesh *  subMesh 
) [inline]

Definition at line 112 of file StdMeshers_ViscousLayers.cxx.

      SMESH_ProxyMesh::setNode2Node( srcNode,proxyNode,subMesh);

Here is the caller graph for this function:

Member Data Documentation

Definition at line 98 of file StdMeshers_ViscousLayers.cxx.

if true, it will be deleted by SMESH_subMesh

Definition at line 88 of file SMESH_subMeshEventListener.hxx.

std::list<SMESH_subMesh*> SMESH_subMeshEventListenerData::mySubMeshes [inherited]

Definition at line 90 of file SMESH_subMeshEventListener.hxx.

to recognize data type

Definition at line 89 of file SMESH_subMeshEventListener.hxx.

The documentation for this struct was generated from the following file: