FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Public Types | Public Member Functions | List of all members
Fiber::Cell< DIMS, Elements, IndexType > Struct Template Reference

A type describing a cell in a cell complex. More...

#include <Cell.hpp>

Inheritance diagram for Fiber::Cell< DIMS, Elements, IndexType >:
Eagle::FixedArray< IndexType, Elements >

Public Types

enum  { Dims = DIMS }
 
typedef Eagle::FixedArray< IndexType, Elements > FixedArray_t
 
typedef Eagle::FixedArray< IndexType, Elements > Base_t
 
- Public Types inherited from Eagle::FixedArray< IndexType, Elements >
typedef FlattenedArray_t::value_type Element_t
 
typedef GetFixedArrayType< value >::result_t ElementAsFixedArray_t
 
typedef FixedArray FixedArray_t
 
typedef FixedArrayFlattener< FixedArrayOfElements_tFixedArrayFlattener_t
 
typedef FixedArray< ElementAsFixedArray_t, N > FixedArrayOfElements_t
 
typedef FixedArrayFlattener_t::result_t FlattenedArray_t
 
typedef value value_type
 

Public Member Functions

 Cell (const Cell &C)
 
 Cell (const std::initializer_list< IndexType > &Init)
 
- Public Member Functions inherited from Eagle::FixedArray< IndexType, Elements >
void expandMinMax (FixedArray &MinValues, FixedArray &MaxValues) const
 
constexpr FixedArray (const FixedArray< AType, N > &l, const FixedArray< BType, N > &r, const Operator< CompType > &)
 
constexpr FixedArray (const FixedArray< T, M > &F, const T &DefaultValue)
 
constexpr FixedArray (const FixedArray< T, N > &F)
 
constexpr FixedArray (const FixedArray< T, N > &F, const ConversionFunctor &CF, const FA_CONVERT &)
 
constexpr FixedArray (const std::initializer_list< InitType > &Init)
 
constexpr FixedArray (const value &a)
 
constexpr FixedArray (const value &a, const value &b)
 
 FixedArray (const value &a, const value &b, const value &c)
 
constexpr FixedArray (const value &a, const value &b, const value &c, const value &d)
 
constexpr FixedArray (const value &a, const value &b, const value &c, const value &d, const value &e)
 
constexpr value & get (int i)
 
constexpr const value & get (int i) const
 
constexpr const FixedArray< value, subsize > * get_subarray () const
 
constexpr const FixedArray< value, SIZE-1 > & get_subdim () const
 
const FixedArray_tgetFixedArray () const noexcept
 
FixedArray_tgetFixedArray () noexcept
 
constexpr value getMax () const
 
constexpr value getMin () const
 
constexpr bool operator!= (const FixedArray< T, N > &F) const
 
constexpr bool operator== (const FixedArray< T, N > &F) const
 
constexpr value & operator[] (int i)
 
constexpr const value & operator[] (int i) const
 
constexpr value * ptr (int i=0) noexcept
 
constexpr void set (const Value &x)
 
void setFromArray (const value *x, int length=SIZE, int offset=0)
 
void sort (FixedArray< int, N > &I) const
 

Additional Inherited Members

- Static Public Member Functions inherited from Eagle::FixedArray< IndexType, Elements >
static constexpr FixedArray convert (const FixedArray< T, N > &F, const ConversionFunctor &CF)
 
static constexpr dimension_t size ()
 
- Protected Attributes inherited from Eagle::FixedArray< IndexType, Elements >
value data [SIZE]
 

Detailed Description

template<Eagle::dimension_t DIMS, Eagle::dimension_t Elements, class IndexType>
struct Fiber::Cell< DIMS, Elements, IndexType >

A type describing a cell in a cell complex.

Class Cell provides a systematic interface for cell types in irregular grids, allowing n-dimensional types of varying precision.

A SimplexCell is an n-dimensional cell within a cell complex. A RegularCell describes an n-dimensional regular cell.

Various types are predefined for most common use cases: EdgeCell32_t, TriangleCell32_t, TetrahedronCell32_t, QuadCell32_t, HexahedronCell32_t, EdgeCell64_t, TriangleCell64_t, TetrahedronCell64_t, QuadCell64_t and HexahedronCell64_t.