FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Static Public Member Functions | List of all members
Fiber::FragmentLocation< Dims, TheProperty > Class Template Reference
Inheritance diagram for Fiber::FragmentLocation< Dims, TheProperty >:
MemCore::Interface< FragmentLocation< Dims, TheProperty > > Fiber::MultiIndex< Dims > MemCore::InterfaceBase MemCore::ReferenceBase< InterfaceBase >

Static Public Member Functions

static MultiIndex< Dims > & make (FragmentID &FID)
 
static RefPtr< FragmentLocationget (FragmentID &FID)
 
static bool get (FragmentID &FID, MultiIndex< Dims > &Value)
 
static void set (FragmentID &FID, MultiIndex< Dims > &Value)
 
- Static Public Member Functions inherited from Fiber::MultiIndex< Dims >
static MultiIndex BitIndex (unsigned int bits) noexcept
 Multidimensional bit indices, that are zero or one in each of the directions as specified by the bits.
 
static MultiIndex Axis (unsigned int orientation) noexcept
 Return a MultiIndex that points just in the given orientation.
 
static int log2 (index_t N) noexcept
 Logarithm of basis 2 where we expect a maximum value of 1<<(Dims-1) here.
 
template<class Functor >
static bool ForEach (Functor &F, const MultiIndex &Start, const MultiIndex &End, const MultiIndex &Increment=MultiIndex(1))
 

Additional Inherited Members

- Public Types inherited from MemCore::Interface< FragmentLocation< Dims, TheProperty > >
typedef Domain InterfaceDomain_t
 
- Public Types inherited from MemCore::ReferenceBase< InterfaceBase >
typedef Object reference_domain_t
 
typedef WeakPtr< Object, Object > SelfPtr_t
 
- Public Types inherited from Fiber::MultiIndex< Dims >
enum  { dims = Dims , SIZE = Dims }
 
typedef index_t value_type
 
- Public Member Functions inherited from MemCore::Interface< FragmentLocation< Dims, TheProperty > >
const type_info & getInterfaceDomain () const
 
- Public Member Functions inherited from MemCore::InterfaceBase
virtual bool apply (Intercube &I, const RefPtr< InterfaceIterationParameter > &)
 
virtual bool apply_const (const Intercube &I, const RefPtr< InterfaceIterationParameter > &)
 
- Public Member Functions inherited from MemCore::ReferenceBase< InterfaceBase >
auto getObjectCountID () const noexcept
 
bool isIdentical (const WeakPtr< Object, Object > &PossibleSelf) const noexcept
 
void mkAutoDestructive ()
 
refcount_t refcount () const noexcept
 
 ReferenceBase (Object *that) noexcept
 
const auto & self () const
 
refcount_t wrefcount () const noexcept
 
- Public Member Functions inherited from Fiber::MultiIndex< Dims >
constexpr MultiIndex (const MultiIndex &M, const MultiIndex &D, const Add &) noexcept
 Computational constructor for adding two multidimensional indices.
 
constexpr MultiIndex (const MultiIndex &M, const MultiIndex &D, const Sub &) noexcept
 Computational constructor for subtracting two multidimensional indices.
 
constexpr MultiIndex (const MultiIndex &M, const MultiIndex &D, const Mult &) noexcept
 Computational constructor for component-wise multiplication of two multidimensional indices.
 
constexpr MultiIndex (const MultiIndex &M, const MultiIndex &D, const Div &)
 Computational constructor for component-wise division of two multidimensional indices.
 
constexpr MultiIndex (unsigned int bits, const ::Eagle::BinaryAnd &) noexcept
 
constexpr MultiIndex (const MultiIndex &M, const MultiIndex &D, const ::Eagle::BinaryAnd &) noexcept
 
constexpr MultiIndex (const MultiIndex &M, const Power2Alignment &) noexcept
 
constexpr MultiIndex (const std::array< index_t, Dims > &A)
 Construct from std::array of same size.
 
constexpr MultiIndex (const std::initializer_list< index_t > &A)
 Construct from set of indices.
 
MultiIndexIterator< Dims > begin () const
 Begin a ranged loop.
 
MultiIndexIterator< Dims > end () const
 End a ranged loop.
 
index_t BitIndex () const
 From this given multiindex which is supposed to have index values of either 0 or 1 in each direction, return the corresponding binary pattern that creates this multiindex.
 
index_t Orientation () const noexcept
 Given a MultiIndex that only contains one element of value 1, all others being zero (such as one created by the Axis() function), return the orientation that creates this.
 
constexpr int getSignedOrientation (const MultiIndex &B) const
 Returns the dimension, starting with 1, in which this multidimensional index is non-zero.
 
constexpr MultiIndex () noexcept
 Default constructor (initialization by zero)
 
constexpr MultiIndex (const index_t &I) noexcept
 Initialize all indices with same value.
 
constexpr MultiIndex (const MultiIndex< Dims-1 > &Midx, const index_t &I) noexcept
 Multidimensional index as tensor product of subdimension and index.
 
constexpr MultiIndex (const MultiIndex< Dims-1 > &m, const index_t &Slice, int SliceDirection)
 Multidimensional index as product of subdimension and index for a given slice dimension (create global index from hyperslab index)
 
constexpr MultiIndex (const index_t &lin_idx, const MultiIndex &Dimens, const CreateFromLinear &)
 Create multidimensional index from one-dimensional index, given the multidimensional dimension on where this index shall count through.
 
constexpr const MultiIndex< Dims-1 > & subidx () const noexcept
 Return associated constant dimensionator of one dimension less.
 
constexpr MultiIndex< Dims-1 > & subidx () noexcept
 Return associated dimensionator of one dimension less.
 
constexpr const index_toperator[] (std::size_t i) const
 Indexing operator to access values for each dimension.
 
constexpr index_toperator[] (std::size_t i) noexcept
 Indexing operator to access values for each dimension.
 
Eagle::Assignment< MultiIndex, 0 > operator= (const index_t &i)
 Assignment via comma operator.
 
constexpr const index_tmaxidx () const noexcept
 
constexpr index_tmaxidx () noexcept
 
index_t size () const noexcept
 Recursive function to compute the entire number of elements.
 
constexpr bool operator!= (const MultiIndex &D) const noexcept
 inequality comparision operator
 
constexpr bool operator== (const MultiIndex &M) const noexcept
 comparison operator
 
MultiIndexoperator+= (const MultiIndex &D) noexcept
 component-wise self-addition
 
MultiIndexoperator-= (const MultiIndex &D) noexcept
 component-wise self-subtraction
 
bool inc (const MultiIndex &Dimens) noexcept
 Increment the current index, if it is larger than the extent a given in the Dimensions parameter, the certain index is reset to zero in this dimension and the next dimension is increased.
 
bool inc (const MultiIndex &Dimens, const MultiIndex &Increment) noexcept
 Increment the current index by a certain increment.
 
index_t linear (const MultiIndex &Dimens) const
 Compute the linear index from the given dimensionator.
 
bool isWithin (const MultiIndex &Range) const noexcept
 Check whether this multidimensional index is within the specified domain.
 
bool operator< (const MultiIndex &Range) const noexcept
 Check if the current multiindex is smaller than the range.
 
bool operator> (const MultiIndex &Range) const noexcept
 Check if the current multiindex is larger than the range.
 
MultiIndex operator+ (const MultiIndex &D) const noexcept
 Add two multidimensional indices.
 
MultiIndex operator- (const MultiIndex &D) const noexcept
 Subtract multidimensional indices.
 
MultiIndex operator* (const MultiIndex &D) const noexcept
 Multiply multidimensional indices component-wise.
 
MultiIndex operator/ (const MultiIndex &D) const noexcept
 Divide multidimensional indices component-wise.
 
MultiIndex operator& (int i) const
 Shortcut operator to compute the MultiIndex that is just one step aside in the direction as specified by the integer.
 
- Protected Member Functions inherited from MemCore::ReferenceBase< InterfaceBase >
virtual void extremeUnction ()
 
ReferenceBaseoperator= (const ReferenceBase &R)
 
void suicide ()
 
- Static Protected Member Functions inherited from Fiber::MultiIndex< Dims >
template<class Functor , Dims_t SuperDims>
static bool ForEachRecursion (Functor &F, const MultiIndex< SuperDims > &SuperIndex, const MultiIndex &Start, const MultiIndex &End, const MultiIndex &Increment)