Fish - FiberLib for VISH 0.3
Fish - The Fiber Bundle API for the Vish Visualization Shell
Fiber::FEM Class Reference

Classes

struct  PredefinedFieldNames
struct  GetFirstFieldSize
struct  FindPossibleStressField
struct  FindPossibleDisplacementField
struct  SetupDerivedFields
struct  ComputeToVertexCellFields
struct  AverageToVertexFields

Public Member Functions

RefPtr< FieldgetVertexField (string field_name)
RefPtr< FieldgetDisplacementField ()
RefPtr< FieldgetVertexCellField (string field_name)
RefPtr< FieldgetIntegrationPointField (string field_name)
RefPtr< MemArray< 1, FEMIndices_t > > getIntPointCellPositions (const RefPtr< FragmentID > &f=NullPtr())
RefPtr< MemArray< 1, FEMIndices_t > > getVertexCellPositions (const RefPtr< FragmentID > &f=NullPtr())
MultiIndex< 1 > getIntPointSize ()
MultiIndex< 1 > getVertexSize ()
MultiIndex< 2 > getVertexCellSize ()
MultiIndex< 2 > getCellsSize ()
RefPtr< MemArray< 1, Eagle::PhysicalSpace::point > > getVertexPositions ()
std::pair< Eagle::PhysicalSpace::tvector, Eagle::PhysicalSpace::tvector > getCellExtendsInBB (const Eagle::BoundingBox &bb)
bool isValid ()
 FEM (const WeakPtr< Grid > &VG, const WeakPtr< Grid > &IG)
RefPtr< FieldsetUpStandardFields ()
bool isC3D8 () const
bool isC3D8R () const
bool isC3D20 () const
bool isC3D20R () const
bool isMixed () const
bool isUnknown () const
bool isC3D4 () const
bool isC3D10 () const
bool isC3D6 () const
bool isC3D15 () const
bool isT3D2 () const
bool isS2D4 () const
bool isHexa () const
bool isTetra () const
bool isWedge () const
bool isBar () const
RefPtr< FieldgetVertexCells ()
FEMFaceList_t & getFaceList ()
void getCellCandidates (std::set< index_t > &res_candidates, const Eagle::PhysicalSpace::tvector &range, const Eagle::PhysicalSpace::point &center)
void getCellCandidates (std::set< index_t > &res_candidates, const Eagle::BoundingBox &bb)
int getLocalCoordinate (Eagle::point3 &local, FEMIndex_t &cell, const Eagle::point3 &world)
bool getLocalCoordinateNewton (Eagle::PhysicalSpace::point &local, const FEMIndex_t &cell, const Eagle::PhysicalSpace::point &world, const double prec=0.01, const unsigned max_iterations=20)
template<class T>
std::pair< bool, T > getInterpolatedVertexField (const Eagle::PhysicalSpace::point &world_pos, const Field &vertex_data_field)

Static Public Member Functions

static SkeletonID cellID3D ()
static SkeletonID cellID2D ()
static double maxCellSize (RefPtr< MemArray< 1, FEMIndices_t > > &cells)
template<class PointType>
static RefPtr< Eagle::KDTree< PointType::SIZE, index_t > > getCellMidPointTree (RefPtr< MemArray< 1, FEMIndices_t > > &cell_set, RefPtr< MemArray< 1, PointType > > &VertexSet)

Public Attributes

PredefinedFieldNames FieldNames