HArD::Core2D
Hybrid Arbitrary Degree::Core 2D - Library to implement 2D schemes with edge and cell polynomials as unknowns
Public Member Functions | List of all members
HArDCore2D::HHO_LocVarDiff Class Reference

The HHO_LocVarDiff class provides tools to implement the HHO method for the diffusion problem. More...

#include <HHO_LocVarDiff.hpp>

Public Member Functions

 HHO_LocVarDiff (HybridCore &hho, size_t K, int L, CellFType< MatrixRd > kappa, size_t deg_kappa, CellFType< double > source, BoundaryConditions BC, FType< double > exact_solution, CellFType< VectorRd > grad_exact_solution, std::string solver_type, bool use_threads, std::ostream &output=std::cout)
 Constructor of the class. More...
 
void assemble (HybridCore &hho)
 Assemble and solve the scheme. More...
 
UVector solve (HybridCore &hho)
 
double EnergyNorm (HybridCore &hho, const UVector Xh)
 Discrete energy norm (associated to the diffusion operator) of an hybrid function. 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...
 
double get_itime (size_t idx) const
 various intermediate assembly times More...
 
const size_t get_nlocal_cell_dofs ()
 Number of DOFs in each cell. More...
 
const size_t get_nlocal_edge_dofs ()
 Number of DOFs on each edge. More...
 
const size_t get_nhighorder_dofs ()
 Number of DOFs per cell for high-order (K+1) polynomials. More...
 
const size_t get_ntotal_cell_dofs ()
 Total number of cell DOFs over the entire mesh. More...
 
const size_t get_ntotal_edge_dofs ()
 Total number of edge DOFs over the entire mesh. More...
 
const size_t get_ndir_edge_dofs ()
 Total number of edge DOFs for Dirichlet edges. More...
 
const size_t get_ntotal_dofs ()
 Total number of degrees of freedom over the entire mesh. More...
 

Detailed Description

The HHO_LocVarDiff class provides tools to implement the HHO method for the diffusion problem.


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