|
HArD::Core2D
Hybrid Arbitrary Degree::Core 2D - Library to implement 2D schemes with edge and cell polynomials as unknowns
|

Classes | |
| struct | HArDCore2D::KLNorms |
| Structure to store component norms (displacement total energy) More... | |
| struct | HArDCore2D::KirchhoffLove |
| Assemble a RM problem. More... | |
Typedefs | |
| typedef Eigen::SparseMatrix< double > | HArDCore2D::KirchhoffLove::SystemMatrixType |
| typedef std::function< double(const Eigen::Vector2d &)> | HArDCore2D::KirchhoffLove::ForcingTermType |
| typedef std::function< double(const Eigen::Vector2d &)> | HArDCore2D::KirchhoffLove::SolutionDisplacementType |
| typedef std::function< Eigen::Vector2d(const Eigen::Vector2d &)> | HArDCore2D::KirchhoffLove::GradientDisplacementType |
Functions | |
| HArDCore2D::KLNorms::KLNorms (double norm_displacement) | |
| Constructor. | |
| HArDCore2D::KirchhoffLove::KirchhoffLove (const DDRCore &ddrcore, const DDRCore &ddrcore_plus, const SerendipityProblem &sp, const SerendipityProblem &sp_plus, const BoundaryConditions &BC_u, bool use_threads, std::ostream &output=std::cout) | |
| Constructor. | |
| void | HArDCore2D::KirchhoffLove::assembleLinearSystem (const ForcingTermType &f, const SolutionDisplacementType &u, const GradientDisplacementType &grad_u) |
| Assemble the global system | |
| size_t | HArDCore2D::KirchhoffLove::dimensionSpace () const |
| Returns the dimension of the rotation + displacement space (with BC) | |
| size_t | HArDCore2D::KirchhoffLove::nb_bdryDOFs () const |
| Returns the nb of DOFs for BC. | |
| size_t | HArDCore2D::KirchhoffLove::sizeSystem () const |
| Returns the size of the system without BC. | |
| const std::vector< std::pair< size_t, size_t > > & | HArDCore2D::KirchhoffLove::locUKN () const |
| Returns the location of the unknowns among the DOFs. | |
| std::vector< size_t > | HArDCore2D::KirchhoffLove::globalDOFIndices (const Cell &T) const |
| Create the vector of DOF indices for cell T, which combines the DOFs for the spaces VSXgrad and Xhess. | |
| const VSXGrad & | HArDCore2D::KirchhoffLove::vsxGrad () const |
| Returns the space VSXGrad. | |
| const XHess & | HArDCore2D::KirchhoffLove::xHess () const |
| Returns the space XHess. | |
| const SystemMatrixType & | HArDCore2D::KirchhoffLove::systemMatrix () const |
| Returns the linear system matrix. | |
| SystemMatrixType & | HArDCore2D::KirchhoffLove::systemMatrix () |
| Returns the linear system matrix. | |
| const Eigen::VectorXd & | HArDCore2D::KirchhoffLove::systemVector () const |
| Returns the linear system right-hand side vector. | |
| Eigen::VectorXd & | HArDCore2D::KirchhoffLove::systemVector () |
| Returns the linear system right-hand side vector. | |
| const SystemMatrixType & | HArDCore2D::KirchhoffLove::bdryMatrix () const |
| Returns the Matrix for BC. | |
| const Eigen::VectorXd & | HArDCore2D::KirchhoffLove::bdryValues () const |
| Returns the boundary values. | |
| const double & | HArDCore2D::KirchhoffLove::stabilizationParameter () const |
| Returns the stabilization parameter. | |
| double & | HArDCore2D::KirchhoffLove::stabilizationParameter () |
| Returns the stabilization parameter. | |
| KLNorms | HArDCore2D::KirchhoffLove::computeNorms (const Eigen::VectorXd &v) const |
| Compute the discrete norms: displacement,and energy. | |
| template<typename outValue , typename Fct > | |
| std::function< outValue(const Eigen::Vector2d &)> | HArDCore2D::KirchhoffLove::contractPara (const Fct &F) const |
| Takes a function dependent on KLParameter and a position x, and returns a function depending only on x (using the parameters of this class) | |
Variables | |
| double | HArDCore2D::KLNorms::displacement |
| Norm of displacement. | |
| double | HArDCore2D::KLNorms::energy |
| Total energy. | |
| static const double | HArDCore2D::PI = boost::math::constants::pi<double>() |
| static KirchhoffLove::SolutionDisplacementType | HArDCore2D::constant_u |
| static KirchhoffLove::GradientDisplacementType | HArDCore2D::constant_grad_u |
| static KirchhoffLove::ForcingTermType | HArDCore2D::constant_f |
| static KirchhoffLove::SolutionDisplacementType | HArDCore2D::polynomial_u |
| static KirchhoffLove::GradientDisplacementType | HArDCore2D::polynomial_grad_u |
| static KirchhoffLove::ForcingTermType | HArDCore2D::polynomial_f |
| typedef std::function<double(const Eigen::Vector2d &)> HArDCore2D::KirchhoffLove::ForcingTermType |
| typedef std::function<Eigen::Vector2d(const Eigen::Vector2d&)> HArDCore2D::KirchhoffLove::GradientDisplacementType |
| typedef std::function<double(const Eigen::Vector2d &)> HArDCore2D::KirchhoffLove::SolutionDisplacementType |
| typedef Eigen::SparseMatrix<double> HArDCore2D::KirchhoffLove::SystemMatrixType |
| void KirchhoffLove::assembleLinearSystem | ( | const ForcingTermType & | f, |
| const SolutionDisplacementType & | u, | ||
| const GradientDisplacementType & | grad_u | ||
| ) |
Assemble the global system
| f | Forcing term |
| u | Boundary value |
| grad_u | Boundary value |
|
inline |
Returns the Matrix for BC.
|
inline |
Returns the boundary values.
| KLNorms KirchhoffLove::computeNorms | ( | const Eigen::VectorXd & | v | ) | const |
Compute the discrete norms: displacement,and energy.
| v | The vector |
|
inline |
Takes a function dependent on KLParameter and a position x, and returns a function depending only on x (using the parameters of this class)
|
inline |
Returns the dimension of the rotation + displacement space (with BC)
|
inline |
Create the vector of DOF indices for cell T, which combines the DOFs for the spaces VSXgrad and Xhess.
| KirchhoffLove::KirchhoffLove | ( | const DDRCore & | ddrcore, |
| const DDRCore & | ddrcore_plus, | ||
| const SerendipityProblem & | sp, | ||
| const SerendipityProblem & | sp_plus, | ||
| const BoundaryConditions & | BC_u, | ||
| bool | use_threads, | ||
| std::ostream & | output = std::cout |
||
| ) |
Constructor.
| ddrcore | Core for the DDR space sequence |
| ddrcore_plus | Core for the DDR space sequence of degree +1 |
| sp_plus | Serendipity problem of degree +1 |
| BC_u | Boundary conditions for displacement |
| use_threads | True for parallel execution, false for sequential execution |
| output | Output stream to print status messages |
|
inline |
Constructor.
|
inline |
Returns the location of the unknowns among the DOFs.
|
inline |
Returns the nb of DOFs for BC.
|
inline |
Returns the size of the system without BC.
|
inline |
Returns the stabilization parameter.
|
inline |
Returns the stabilization parameter.
|
inline |
Returns the linear system matrix.
|
inline |
Returns the linear system matrix.
|
inline |
Returns the linear system right-hand side vector.
|
inline |
Returns the linear system right-hand side vector.
|
static |
|
static |
|
static |
| double HArDCore2D::KLNorms::displacement |
Norm of displacement.
| double HArDCore2D::KLNorms::energy |
Total energy.
|
static |
|
static |
|
static |
|
static |