Public Types | Public Member Functions | Protected Attributes

AlbPUMI::NodeData< DataType, ArrayDim, traits > Class Template Reference

#include <AlbPUMI_NodeData.hpp>

Inheritance diagram for AlbPUMI::NodeData< DataType, ArrayDim, traits >:
Inheritance graph
[legend]
Collaboration diagram for AlbPUMI::NodeData< DataType, ArrayDim, traits >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef traits traits_type
 Type of traits class being used.
typedef traits_type::field_type field_type
 Define the field type.

Public Member Functions

 NodeData (const std::string &name, const std::vector< int > &dim, const bool output=false)
virtual ~NodeData ()
void saveField (const Teuchos::RCP< const Epetra_Vector > &block_mv, int offset, int blocksize=-1)
void resize (const Teuchos::RCP< const Epetra_Map > &local_node_map)
Albany::MDArray getMDA (const std::vector< apf::Node > &buck)

Protected Attributes

const std::string name
const bool output
std::vector< DataType > buffer
std::vector< int > dims
int nfield_dofs
std::size_t beginning_index
Teuchos::RCP< const Epetra_Map > local_node_map

Detailed Description

template<typename DataType, unsigned ArrayDim, class traits = NodeData_Traits<DataType, ArrayDim>>
class AlbPUMI::NodeData< DataType, ArrayDim, traits >

Definition at line 45 of file AlbPUMI_NodeData.hpp.


Member Typedef Documentation

template<typename DataType , unsigned ArrayDim, class traits = NodeData_Traits<DataType, ArrayDim>>
typedef traits AlbPUMI::NodeData< DataType, ArrayDim, traits >::traits_type

Type of traits class being used.

Definition at line 53 of file AlbPUMI_NodeData.hpp.

template<typename DataType , unsigned ArrayDim, class traits = NodeData_Traits<DataType, ArrayDim>>
typedef traits_type::field_type AlbPUMI::NodeData< DataType, ArrayDim, traits >::field_type

Define the field type.

Definition at line 56 of file AlbPUMI_NodeData.hpp.


Constructor & Destructor Documentation

template<typename DataType , unsigned ArrayDim, class traits >
AlbPUMI::NodeData< DataType, ArrayDim, traits >::NodeData ( const std::string &  name,
const std::vector< int > &  dim,
const bool  output = false 
)

Definition at line 33 of file AlbPUMI_NodeData_Def.hpp.

template<typename DataType , unsigned ArrayDim, class traits = NodeData_Traits<DataType, ArrayDim>>
virtual AlbPUMI::NodeData< DataType, ArrayDim, traits >::~NodeData (  )  [inline, virtual]

Definition at line 50 of file AlbPUMI_NodeData.hpp.


Member Function Documentation

template<typename DataType , unsigned ArrayDim, class traits >
void AlbPUMI::NodeData< DataType, ArrayDim, traits >::saveField ( const Teuchos::RCP< const Epetra_Vector > &  block_mv,
int  offset,
int  blocksize = -1 
) [virtual]

Implements AlbPUMI::AbstractPUMINodeFieldContainer.

Definition at line 76 of file AlbPUMI_NodeData_Def.hpp.

template<typename DataType , unsigned ArrayDim, class traits >
void AlbPUMI::NodeData< DataType, ArrayDim, traits >::resize ( const Teuchos::RCP< const Epetra_Map > &  local_node_map  )  [virtual]

Implements AlbPUMI::AbstractPUMINodeFieldContainer.

Definition at line 50 of file AlbPUMI_NodeData_Def.hpp.

template<typename DataType , unsigned ArrayDim, class traits >
Albany::MDArray AlbPUMI::NodeData< DataType, ArrayDim, traits >::getMDA ( const std::vector< apf::Node > &  buck  )  [virtual]

Implements AlbPUMI::AbstractPUMINodeFieldContainer.

Definition at line 62 of file AlbPUMI_NodeData_Def.hpp.


Member Data Documentation

template<typename DataType , unsigned ArrayDim, class traits = NodeData_Traits<DataType, ArrayDim>>
const std::string AlbPUMI::NodeData< DataType, ArrayDim, traits >::name [protected]

Definition at line 64 of file AlbPUMI_NodeData.hpp.

template<typename DataType , unsigned ArrayDim, class traits = NodeData_Traits<DataType, ArrayDim>>
const bool AlbPUMI::NodeData< DataType, ArrayDim, traits >::output [protected]

Definition at line 65 of file AlbPUMI_NodeData.hpp.

template<typename DataType , unsigned ArrayDim, class traits = NodeData_Traits<DataType, ArrayDim>>
std::vector<DataType> AlbPUMI::NodeData< DataType, ArrayDim, traits >::buffer [protected]

Definition at line 66 of file AlbPUMI_NodeData.hpp.

template<typename DataType , unsigned ArrayDim, class traits = NodeData_Traits<DataType, ArrayDim>>
std::vector<int> AlbPUMI::NodeData< DataType, ArrayDim, traits >::dims [protected]

Definition at line 67 of file AlbPUMI_NodeData.hpp.

template<typename DataType , unsigned ArrayDim, class traits = NodeData_Traits<DataType, ArrayDim>>
int AlbPUMI::NodeData< DataType, ArrayDim, traits >::nfield_dofs [protected]

Definition at line 68 of file AlbPUMI_NodeData.hpp.

template<typename DataType , unsigned ArrayDim, class traits = NodeData_Traits<DataType, ArrayDim>>
std::size_t AlbPUMI::NodeData< DataType, ArrayDim, traits >::beginning_index [protected]

Definition at line 69 of file AlbPUMI_NodeData.hpp.

template<typename DataType , unsigned ArrayDim, class traits = NodeData_Traits<DataType, ArrayDim>>
Teuchos::RCP<const Epetra_Map> AlbPUMI::NodeData< DataType, ArrayDim, traits >::local_node_map [protected]

Definition at line 71 of file AlbPUMI_NodeData.hpp.


The documentation for this class was generated from the following files: