Advanced Multi-Physics (AMP)
On-Line Documentation
Public Member Functions | Private Attributes | List of all members
AMP::Mesh::StoreTriData< TYPE, N > Class Template Referencefinal

#include <TriangleMesh.h>

Inheritance diagram for AMP::Mesh::StoreTriData< TYPE, N >:
Inheritance graph
[legend]

Public Member Functions

auto data ()
 
const auto data () const
 
int end () const
 
int end (int r) const
 
int find (const std::array< TYPE, N > &x) const
 
ElementID getID (int i) const
 
int index (const ElementID &id) const
 
auto & offset () const
 
auto & operator() ()
 
const auto & operator() () const
 
auto & operator[] (const ElementID &id)
 
auto & operator[] (const ElementID &id) const
 
auto & operator[] (int i)
 
auto & operator[] (int i) const
 
int rank (int i) const
 
int size () const
 
int start () const
 
int start (int r) const
 
 StoreTriData ()=default
 
 StoreTriData (std::vector< std::array< TYPE, N > > x, std::vector< int > offset, int rank, GeomType type)
 

Private Attributes

int d_end = 0
 
std::vector< int > d_offset
 
int d_rank = 0
 
int d_start = 0
 
GeomType d_type = GeomType::Vertex
 
std::vector< std::array< TYPE, N > > d_x
 

Detailed Description

template<class TYPE, size_t N>
class AMP::Mesh::StoreTriData< TYPE, N >

Definition at line 26 of file TriangleMesh.h.

Constructor & Destructor Documentation

◆ StoreTriData() [1/2]

template<class TYPE , size_t N>
AMP::Mesh::StoreTriData< TYPE, N >::StoreTriData ( )
default

◆ StoreTriData() [2/2]

template<class TYPE , size_t N>
AMP::Mesh::StoreTriData< TYPE, N >::StoreTriData ( std::vector< std::array< TYPE, N > >  x,
std::vector< int >  offset,
int  rank,
GeomType  type 
)

Member Function Documentation

◆ data() [1/2]

template<class TYPE , size_t N>
auto AMP::Mesh::StoreTriData< TYPE, N >::data ( )
inline

Definition at line 40 of file TriangleMesh.h.

References AMP::Mesh::StoreTriData< TYPE, N >::d_x.

◆ data() [2/2]

template<class TYPE , size_t N>
const auto AMP::Mesh::StoreTriData< TYPE, N >::data ( ) const
inline

Definition at line 41 of file TriangleMesh.h.

References AMP::Mesh::StoreTriData< TYPE, N >::d_x.

◆ end() [1/2]

template<class TYPE , size_t N>
int AMP::Mesh::StoreTriData< TYPE, N >::end ( ) const
inline

Definition at line 36 of file TriangleMesh.h.

References AMP::Mesh::StoreTriData< TYPE, N >::d_end.

◆ end() [2/2]

template<class TYPE , size_t N>
int AMP::Mesh::StoreTriData< TYPE, N >::end ( int  r) const
inline

Definition at line 38 of file TriangleMesh.h.

References AMP::Mesh::StoreTriData< TYPE, N >::d_offset.

◆ find()

template<class TYPE , size_t N>
int AMP::Mesh::StoreTriData< TYPE, N >::find ( const std::array< TYPE, N > &  x) const

◆ getID()

template<class TYPE , size_t N>
ElementID AMP::Mesh::StoreTriData< TYPE, N >::getID ( int  i) const

◆ index()

template<class TYPE , size_t N>
int AMP::Mesh::StoreTriData< TYPE, N >::index ( const ElementID id) const
inline

◆ offset()

template<class TYPE , size_t N>
auto & AMP::Mesh::StoreTriData< TYPE, N >::offset ( ) const
inline

Definition at line 42 of file TriangleMesh.h.

References AMP::Mesh::StoreTriData< TYPE, N >::d_offset.

◆ operator()() [1/2]

template<class TYPE , size_t N>
auto & AMP::Mesh::StoreTriData< TYPE, N >::operator() ( )
inline

Definition at line 55 of file TriangleMesh.h.

References AMP::Mesh::StoreTriData< TYPE, N >::d_x.

◆ operator()() [2/2]

template<class TYPE , size_t N>
const auto & AMP::Mesh::StoreTriData< TYPE, N >::operator() ( ) const
inline

Definition at line 56 of file TriangleMesh.h.

References AMP::Mesh::StoreTriData< TYPE, N >::d_x.

◆ operator[]() [1/4]

template<class TYPE , size_t N>
auto & AMP::Mesh::StoreTriData< TYPE, N >::operator[] ( const ElementID id)
inline

◆ operator[]() [2/4]

template<class TYPE , size_t N>
auto & AMP::Mesh::StoreTriData< TYPE, N >::operator[] ( const ElementID id) const
inline

◆ operator[]() [3/4]

template<class TYPE , size_t N>
auto & AMP::Mesh::StoreTriData< TYPE, N >::operator[] ( int  i)
inline

Definition at line 51 of file TriangleMesh.h.

References AMP::Mesh::StoreTriData< TYPE, N >::d_x.

◆ operator[]() [4/4]

template<class TYPE , size_t N>
auto & AMP::Mesh::StoreTriData< TYPE, N >::operator[] ( int  i) const
inline

Definition at line 52 of file TriangleMesh.h.

References AMP::Mesh::StoreTriData< TYPE, N >::d_x.

◆ rank()

template<class TYPE , size_t N>
int AMP::Mesh::StoreTriData< TYPE, N >::rank ( int  i) const

◆ size()

template<class TYPE , size_t N>
int AMP::Mesh::StoreTriData< TYPE, N >::size ( ) const
inline

Definition at line 34 of file TriangleMesh.h.

References AMP::Mesh::StoreTriData< TYPE, N >::d_x.

◆ start() [1/2]

template<class TYPE , size_t N>
int AMP::Mesh::StoreTriData< TYPE, N >::start ( ) const
inline

Definition at line 35 of file TriangleMesh.h.

References AMP::Mesh::StoreTriData< TYPE, N >::d_start.

◆ start() [2/2]

template<class TYPE , size_t N>
int AMP::Mesh::StoreTriData< TYPE, N >::start ( int  r) const
inline

Definition at line 37 of file TriangleMesh.h.

References AMP::Mesh::StoreTriData< TYPE, N >::d_offset.

Member Data Documentation

◆ d_end

template<class TYPE , size_t N>
int AMP::Mesh::StoreTriData< TYPE, N >::d_end = 0
private

Definition at line 61 of file TriangleMesh.h.

Referenced by AMP::Mesh::StoreTriData< TYPE, N >::end().

◆ d_offset

template<class TYPE , size_t N>
std::vector<int> AMP::Mesh::StoreTriData< TYPE, N >::d_offset
private

◆ d_rank

template<class TYPE , size_t N>
int AMP::Mesh::StoreTriData< TYPE, N >::d_rank = 0
private

Definition at line 62 of file TriangleMesh.h.

◆ d_start

template<class TYPE , size_t N>
int AMP::Mesh::StoreTriData< TYPE, N >::d_start = 0
private

Definition at line 60 of file TriangleMesh.h.

Referenced by AMP::Mesh::StoreTriData< TYPE, N >::start().

◆ d_type

template<class TYPE , size_t N>
GeomType AMP::Mesh::StoreTriData< TYPE, N >::d_type = GeomType::Vertex
private

Definition at line 59 of file TriangleMesh.h.

Referenced by AMP::Mesh::StoreTriData< TYPE, N >::index().

◆ d_x

template<class TYPE , size_t N>
std::vector<std::array<TYPE, N> > AMP::Mesh::StoreTriData< TYPE, N >::d_x
private

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



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:43.
Comments on this page