Finite Volume Solver  prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
Classes | Namespaces | Functions
CutCellData.hpp File Reference
#include "fub/PatchDataView.hpp"
#include "fub/ext/Eigen.hpp"

Go to the source code of this file.

Classes

struct  fub::CutCellData< Rank >
 

Namespaces

 fub
 The fub namespace.
 

Functions

std::array< double, 2 > fub::Intersect (const std::array< double, 2 > &i1, const std::array< double, 2 > &i2)
 
bool fub::IsCutCell (const CutCellData< 2 > &geom, const std::array< std::ptrdiff_t, 2 > &index)
 
bool fub::IsCutCell (const CutCellData< 3 > &geom, const std::array< std::ptrdiff_t, 3 > &index)
 
Eigen::Vector2d fub::GetBoundaryNormal (const CutCellData< 2 > &ccdata, const std::array< std::ptrdiff_t, 2 > &index)
 
Eigen::Vector3d fub::GetBoundaryNormal (const CutCellData< 3 > &ccdata, const std::array< std::ptrdiff_t, 3 > &index)
 
Eigen::Vector2d fub::GetBoundaryCentroid (const CutCellData< 2 > &ccdata, const std::array< std::ptrdiff_t, 2 > &index)
 
Eigen::Vector3d fub::GetBoundaryCentroid (const CutCellData< 3 > &ccdata, const std::array< std::ptrdiff_t, 3 > &index)
 
Eigen::Vector2d fub::GetVolumeCentroid (const CutCellData< 2 > &ccdata, const std::array< std::ptrdiff_t, 2 > &index)
 
Eigen::Vector3d fub::GetVolumeCentroid (const CutCellData< 3 > &ccdata, const std::array< std::ptrdiff_t, 3 > &index)
 
Eigen::Vector2d fub::GetUnshieldedCentroid (const CutCellData< 2 > &geom, const Index< 2 > &face, const Eigen::Vector2d &dx, Direction dir)
 
template<std::size_t Rank>
Eigen::Matrix< double, Rank, 1 > fub::GetOffset (const std::array< std::ptrdiff_t, Rank > &index)
 
template<int Rank>
Eigen::Matrix< double, Rank, 1 > fub::GetAbsoluteVolumeCentroid (const CutCellData< Rank > &geom, const Index< Rank > &index, const Eigen::Matrix< double, Rank, 1 > &dx)
 
template<int Rank>
Eigen::Matrix< double, Rank, 1 > fub::GetAbsoluteBoundaryCentroid (const CutCellData< Rank > &geom, const Index< Rank > &index, const Eigen::Matrix< double, Rank, 1 > &dx)