atlas
|
Describe elements of a single type. More...
#include <Elements.h>
Public Member Functions | |
Elements (HybridElements &elements, idx_t type_idx) | |
Constructor that treats elements as sub-elements in HybridElements. | |
Elements (ElementType *, idx_t nb_elements, const std::vector< idx_t > &node_connectivity) | |
Constructor that internally creates a HybridElements that owns the data. | |
Elements (ElementType *, idx_t nb_elements, const idx_t node_connectivity[], bool fortran_array=false) | |
Constructor that internally creates a HybridElements that owns the data. | |
virtual | ~Elements () |
Destructor. | |
idx_t | size () const |
Number of elements. | |
const std::string & | name () const |
Name of this element type. | |
idx_t | nb_nodes () const |
Number of nodes for each element type. | |
idx_t | nb_edges () const |
Number of edges for each element type. | |
const BlockConnectivity & | node_connectivity () const |
Element to Node connectivity table. | |
BlockConnectivity & | node_connectivity () |
const BlockConnectivity & | edge_connectivity () const |
Element to Edge connectivity table. | |
BlockConnectivity & | edge_connectivity () |
const BlockConnectivity & | cell_connectivity () const |
Element to Cell connectivity table. | |
BlockConnectivity & | cell_connectivity () |
const ElementType & | element_type () const |
Element type of these Elements. | |
idx_t | begin () const |
Access hybrid_elements HybridElements can contain more Elements, and holds the data. More... | |
idx_t | end () const |
End of elements in hybrid_elements. | |
const Field & | field (const std::string &name) const |
Field & | field (const std::string &name) |
bool | has_field (const std::string &name) const |
const Field & | field (idx_t idx) const |
Field & | field (idx_t idx) |
idx_t | nb_fields () const |
const Field & | global_index () const |
Field & | global_index () |
const Field & | remote_index () const |
Field & | remote_index () |
const Field & | partition () const |
Field & | partition () |
const Field & | halo () const |
Field & | halo () |
const Field & | flags () const |
Field & | flags () |
template<typename DATATYPE , int RANK> | |
array::LocalView< const DATATYPE, RANK > | view (const Field &) const |
template<typename DATATYPE , int RANK> | |
array::LocalView< DATATYPE, RANK > | view (Field &) const |
template<typename DATATYPE , int RANK> | |
array::LocalIndexView< DATATYPE, RANK > | indexview (const Field &) const |
template<typename DATATYPE , int RANK> | |
array::LocalIndexView< DATATYPE, RANK > | indexview (Field &) const |
idx_t | add (const idx_t nb_elements) |
template<> | |
array::LocalView< const double, 1 > | view (const Field &field) const |
template<> | |
array::LocalView< const float, 1 > | view (const Field &field) const |
template<> | |
array::LocalView< const int, 1 > | view (const Field &field) const |
template<> | |
array::LocalView< const long, 1 > | view (const Field &field) const |
template<> | |
array::LocalView< const double, 2 > | view (const Field &field) const |
template<> | |
array::LocalView< const float, 2 > | view (const Field &field) const |
template<> | |
array::LocalView< const int, 2 > | view (const Field &field) const |
template<> | |
array::LocalView< const long, 2 > | view (const Field &field) const |
template<> | |
array::LocalView< double, 1 > | view (Field &field) const |
template<> | |
array::LocalView< float, 1 > | view (Field &field) const |
template<> | |
array::LocalView< int, 1 > | view (Field &field) const |
template<> | |
array::LocalView< long, 1 > | view (Field &field) const |
template<> | |
array::LocalView< double, 2 > | view (Field &field) const |
template<> | |
array::LocalView< float, 2 > | view (Field &field) const |
template<> | |
array::LocalView< int, 2 > | view (Field &field) const |
template<> | |
array::LocalView< long, 2 > | view (Field &field) const |
template<> | |
array::LocalIndexView< idx_t, 1 > | indexview (Field &field) const |
template<> | |
array::LocalIndexView< const idx_t, 1 > | indexview (const Field &field) const |
Friends | |
class | HybridElements |
Describe elements of a single type.
|
inline |
Access hybrid_elements HybridElements can contain more Elements, and holds the data.
Index of Elements in hybrid_elements Begin of elements in hybrid_elements