COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Member Functions | Private Attributes | List of all members
PackedElement Class Reference

Class that contains all stand-alone global information of an element. More...

#include <MeshAdaptor.hpp>

Inherits PackedObject.

Public Member Functions

 PackedElement (const mesh::Mesh &mesh)
 Constructor. More...
 
 PackedElement (const mesh::Mesh &mesh, const Uint entities_idx, const Uint elem_idx)
 Constructor, packing from local information. More...
 
virtual void unpack (common::PE::Buffer &buf)
 
virtual void pack (common::PE::Buffer &buf)
 
Uint entities_idx () const
 
Uint loc_idx () const
 
const boost::uint64_tglb_idx () const
 
Uint rank () const
 
Uintrank ()
 
const std::vector< std::vector< boost::uint64_t > > & connectivity () const
 
Uint nb_spaces () const
 
- Public Member Functions inherited from PackedObject
 PackedObject ()
 

Private Attributes

const Meshm_mesh
 
Uint m_entities_idx
 Component index as it exists in a vector owned by the mesh. More...
 
Uint m_loc_idx
 Element index inside the Entities component. More...
 
boost::uint64_t m_glb_idx
 Global index of the element. More...
 
Uint m_rank
 
std::vector< std::vector< boost::uint64_t > > m_connectivity
 Per available space, the node connectivity, in global indices. More...
 

Detailed Description

Class that contains all stand-alone global information of an element.

This information can be retrieved from a common::PE::buffer that has been communicated from other ranks, or from local information.

Definition at line 277 of file MeshAdaptor.hpp.

Constructor & Destructor Documentation

PackedElement ( const mesh::Mesh mesh)

Constructor.

Definition at line 46 of file MeshAdaptor.cpp.

PackedElement ( const mesh::Mesh mesh,
const Uint  entities_idx,
const Uint  elem_idx 
)

Constructor, packing from local information.

Definition at line 53 of file MeshAdaptor.cpp.

Member Function Documentation

const std::vector< std::vector<boost::uint64_t> >& connectivity ( ) const
inline

Definition at line 300 of file MeshAdaptor.hpp.

Uint entities_idx ( ) const
inline

Definition at line 295 of file MeshAdaptor.hpp.

const boost::uint64_t& glb_idx ( ) const
inline

Definition at line 297 of file MeshAdaptor.hpp.

Uint loc_idx ( ) const
inline

Definition at line 296 of file MeshAdaptor.hpp.

Uint nb_spaces ( ) const
inline

Definition at line 301 of file MeshAdaptor.hpp.

void pack ( common::PE::Buffer buf)
virtual

Implements PackedObject.

Definition at line 103 of file MeshAdaptor.cpp.

Uint rank ( ) const
inline

Definition at line 298 of file MeshAdaptor.hpp.

Uint& rank ( )
inline

Definition at line 299 of file MeshAdaptor.hpp.

void unpack ( common::PE::Buffer buf)
virtual

Implements PackedObject.

Definition at line 84 of file MeshAdaptor.cpp.

Member Data Documentation

std::vector< std::vector<boost::uint64_t> > m_connectivity
private

Per available space, the node connectivity, in global indices.

Definition at line 311 of file MeshAdaptor.hpp.

Uint m_entities_idx
private

Component index as it exists in a vector owned by the mesh.

Definition at line 306 of file MeshAdaptor.hpp.

boost::uint64_t m_glb_idx
private

Global index of the element.

Definition at line 308 of file MeshAdaptor.hpp.

Uint m_loc_idx
private

Element index inside the Entities component.

Definition at line 307 of file MeshAdaptor.hpp.

const Mesh& m_mesh
private

Definition at line 304 of file MeshAdaptor.hpp.

Uint m_rank
private

Rank of the element

Definition at line 309 of file MeshAdaptor.hpp.


The documentation for this class was generated from the following files:
Send comments to:
COOLFluiD Web Admin