This is a helper class for accessing nodal data. More...
#include <Element_accessors.h>
Public Types | |
enum | { MAX_NODES =9 } |
typedef unsigned int | Size |
Public Member Functions | |
Element_node_vectors_k_const () | |
Default constructor. More... | |
void | set (const Value *p, Element_node_enumerator &ene, int strd) |
initialize the accessor with a pointer and a specific stride. More... | |
void | set (const Attribute *a, Element_node_enumerator &ene) |
initialize the accessor from an attribute assiciated with a pane. More... | |
const Value & | operator() (int i, int j) const |
const Value & | operator() (int i) const |
const Value & | operator[] (int i) const |
Protected Attributes | |
const Attribute * | _attr |
union { | |
int _offsets [MAX_NODES] | |
const Value * _vs [MAX_NODES] | |
}; | |
This is a helper class for accessing nodal data.
Definition at line 234 of file Element_accessors.h.
typedef unsigned int Size |
Definition at line 237 of file Element_accessors.h.
anonymous enum |
|
inline |
Default constructor.
Definition at line 240 of file Element_accessors.h.
References Element_node_vectors_k_const< Value >::_vs.
|
inline |
Definition at line 271 of file Element_accessors.h.
References Element_node_vectors_k_const< Value >::_attr, Element_node_vectors_k_const< Value >::_offsets, Element_node_vectors_k_const< Value >::_vs, COM_assertion, i, j, and Attribute::size_of_components().
Referenced by Element_node_vectors_k< Value >::operator()(), Element_node_vectors_k_const< Value >::operator[](), and Element_node_vectors_k< Value >::operator[]().
|
inline |
Definition at line 282 of file Element_accessors.h.
References Element_node_vectors_k_const< Value >::operator()().
Referenced by Element_node_vectors_k_const< Value >::operator()().
|
inline |
Definition at line 284 of file Element_accessors.h.
References Element_node_vectors_k_const< Value >::operator()().
|
inline |
initialize the accessor with a pointer and a specific stride.
Definition at line 244 of file Element_accessors.h.
References Element_node_vectors_k_const< Value >::_attr, Element_node_vectors_k_const< Value >::_vs, COM_assertion, i, Element_node_vectors_k_const< Value >::MAX_NODES, and Element_node_enumerator::size_of_nodes().
Referenced by Rocsurf::compute_bounded_volumes(), Rocsurf::compute_element_areas(), Rocsurf::compute_element_normals(), Rocsurf::compute_signed_volumes(), Rocsurf::compute_swept_volumes(), Window_manifold_2::elements_to_nodes(), Rocmop::evaluate_face_normals(), get_normal(), Rocsurf::integrate(), FaceOffset_3::obtain_face_offset(), Rocmop::redistribute_vertices_smooth(), Element_node_vectors_k< Value >::set(), and turb_flowlmmetric().
|
inline |
initialize the accessor from an attribute assiciated with a pane.
Definition at line 252 of file Element_accessors.h.
References Element_node_vectors_k_const< Value >::_attr, Element_node_vectors_k_const< Value >::_offsets, Element_node_vectors_k_const< Value >::_vs, COM_assertion, COM_get_sizeof(), Attribute::data_type(), i, Pane::id(), Attribute::is_nodal(), Attribute::pane(), Attribute::pointer(), Attribute::size_of_components(), Element_node_enumerator::size_of_nodes(), and Attribute::stride().
union { ... } |
|
protected |
Definition at line 287 of file Element_accessors.h.
Referenced by Element_node_vectors_k_const< Value >::operator()(), and Element_node_vectors_k_const< Value >::set().
int _offsets[MAX_NODES] |
Definition at line 289 of file Element_accessors.h.
Referenced by Element_node_vectors_k_const< Value >::operator()(), and Element_node_vectors_k_const< Value >::set().
const Value* _vs[MAX_NODES] |
Definition at line 290 of file Element_accessors.h.
Referenced by Element_node_vectors_k_const< Value >::Element_node_vectors_k_const(), Element_node_vectors_k_const< Value >::operator()(), and Element_node_vectors_k_const< Value >::set().