FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Public Types | Public Member Functions | Public Attributes | List of all members
Fiber::CellNeighborhoodFixed Struct Reference

Creator for computing strong neighbors and stores them as a fixed array of cell indices per cells in a cells as cells topology (positions field, 2D Memarray). More...

#include <FEMFields.hpp>

Public Types

typedef MemArray< 2, FEMIndex_tResultArray_t
 
typedef FEMOperatorData Constructor_t
 

Public Member Functions

 CellNeighborhoodFixed (const FEMOperatorData &FEMData, const MemBase::Creator_t &C=MemCore::NullPtr())
 
RefPtr< ResultArray_tresult () const
 

Public Attributes

RefPtr< ResultArray_tm_data
 

Detailed Description

Creator for computing strong neighbors and stores them as a fixed array of cell indices per cells in a cells as cells topology (positions field, 2D Memarray).

A stron neighbor is a neighbor that shares a face with the cell of interest. The first dimension of the array is the number of max possible neighbors. (e.g. 6 for a hexahedral, 4 for a tetrahedral). It is termintaed by the index := number of max cells in case less neighbors are there. So e.g. in a mesh with 25 tets a tet with 2 neighbors would have a neighborhood: 0, 1, 25, 25;

Constructor & Destructor Documentation

◆ CellNeighborhoodFixed()

CellNeighborhoodFixed::CellNeighborhoodFixed ( const FEMOperatorData FEMData,
const MemBase::Creator_t C = MemCore::NullPtr() 
)
Todo:
Implement cache management

References max(), and std::rotate().