HArD::Core3D
Hybrid Arbitrary Degree::Core 3D - Library to implement 3D schemes with vertex, edge, face and cell polynomials as unknowns
Public Member Functions | List of all members
HHO3D Class Reference

#include <HHO3D.hpp>

Public Member Functions

 HHO3D (HybridCore &, const size_t, const size_t, const bool use_threads=true, size_t doeT=0, size_t doeF=0)
 Class constructor: initialises the model by providing a HybridCore object, and the exact solution and boundary conditions of the model. More...
 
void assemble ()
 A general assemble routine that calculates the statically condensed matrices required by solve. More...
 
UVector solve ()
 Solves the statically condensed system. More...
 
UVector neumann_solve ()
 Solves the system when the model is ill posed (not yet running) More...
 
double energy_norm (const UVector)
 Returns the energy norm of a given UVector. More...
 
void set_global_operator (const MatrixFType &)
 Set the global operator. More...
 
void set_load_vector (const VectorFType &)
 Set the load vector. More...
 
void plot (const std::string, const UVector &, const FType< double > &)
 Plot the numerical and exact solutions. More...
 
VectorFType standard_load_vector (const CellFType< double > &)
 Returns the standard load vector (f, v_T)_T with no Neumann boundary conditions. More...
 
VectorFType standard_load_vector (const CellFType< double > &, const CellFType< VectorRd > &, const BoundaryConditions &)
 Returns the standard load vector (f, v_T)_T. More...
 
VectorFType standard_load_vector (const CellFType< double > &, const FType< double > &, const BoundaryConditions &)
 Returns the standard load vector (f, v_T)_T. More...
 
void set_dirichlet (const FType< double > &, const size_t)
 Set the Dirichlet boundary conditions. More...
 
void set_dirichlet (const size_t)
 Set the Dirichlet boundary condition to zero. More...
 
Eigen::SparseMatrix< double > get_SysMat ()
 Return the (statically condensed) matrix system. More...
 
double get_assembly_time () const
 CPU time to assemble the scheme. More...
 
double get_solving_time () const
 CPU time to solve the scheme. More...
 
double get_solving_error () const
 Residual after solving the scheme. More...
 

The documentation for this class was generated from the following files: