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

Class that contains all stand-alone global information of point in a dictionary. More...

#include <MeshAdaptor.hpp>

Inherits PackedObject.

Public Member Functions

 PackedNode (const mesh::Mesh &mesh)
 Constructor. More...
 
 PackedNode (const mesh::Mesh &mesh, const Uint dict_idx, const Uint node_idx)
 Constructor, packing from local information. More...
 
virtual void unpack (common::PE::Buffer &buf)
 
virtual void pack (common::PE::Buffer &buf)
 
Uint dict_idx () const
 
Uint loc_idx () const
 
const boost::uint64_tglb_idx () const
 
Uint rank () const
 
Uintrank ()
 
const std::vector< std::vector< Real > > & field_values () const
 
- Public Member Functions inherited from PackedObject
 PackedObject ()
 

Private Attributes

Uint m_dict_idx
 Component index as it exists in a vector owned by the mesh. More...
 
Uint m_loc_idx
 Local index of the node. More...
 
boost::uint64_t m_glb_idx
 Global index of the node. More...
 
Uint m_rank
 
std::vector< std::vector< Real > > m_field_values
 Per available field, the node values. More...
 
const Meshm_mesh
 

Detailed Description

Class that contains all stand-alone global information of point in a dictionary.

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

Definition at line 323 of file MeshAdaptor.hpp.

Constructor & Destructor Documentation

PackedNode ( const mesh::Mesh mesh)
inline

Constructor.

Definition at line 328 of file MeshAdaptor.hpp.

PackedNode ( const mesh::Mesh mesh,
const Uint  dict_idx,
const Uint  node_idx 
)

Constructor, packing from local information.

Definition at line 117 of file MeshAdaptor.cpp.

Member Function Documentation

Uint dict_idx ( ) const
inline

Definition at line 341 of file MeshAdaptor.hpp.

const std::vector< std::vector<Real> >& field_values ( ) const
inline

Definition at line 346 of file MeshAdaptor.hpp.

const boost::uint64_t& glb_idx ( ) const
inline

Definition at line 343 of file MeshAdaptor.hpp.

Uint loc_idx ( ) const
inline

Definition at line 342 of file MeshAdaptor.hpp.

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

Implements PackedObject.

Definition at line 157 of file MeshAdaptor.cpp.

Uint rank ( ) const
inline

Definition at line 344 of file MeshAdaptor.hpp.

Uint& rank ( )
inline

Definition at line 345 of file MeshAdaptor.hpp.

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

Implements PackedObject.

Definition at line 143 of file MeshAdaptor.cpp.

Member Data Documentation

Uint m_dict_idx
private

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

Definition at line 350 of file MeshAdaptor.hpp.

std::vector< std::vector<Real> > m_field_values
private

Per available field, the node values.

Definition at line 355 of file MeshAdaptor.hpp.

boost::uint64_t m_glb_idx
private

Global index of the node.

Definition at line 352 of file MeshAdaptor.hpp.

Uint m_loc_idx
private

Local index of the node.

Definition at line 351 of file MeshAdaptor.hpp.

const Mesh& m_mesh
private

Definition at line 356 of file MeshAdaptor.hpp.

Uint m_rank
private

Rank of the node

Definition at line 353 of file MeshAdaptor.hpp.


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