PolyDEAL
 
Loading...
Searching...
No Matches
Poisson< dim > Class Template Reference

Public Member Functions

 Poisson ()
 
void run ()
 

Public Attributes

double penalty = 3.
 

Private Member Functions

void make_grid ()
 
void setup_agglomeration ()
 
void distribute_jumps_and_averages (FEFaceValues< dim > &fe_face, FEFaceValues< dim > &fe_face1, const typename DoFHandler< dim >::active_cell_iterator &cell, const unsigned int f)
 
void assemble_system ()
 
void solve ()
 
void output_results ()
 

Private Attributes

Triangulation< dim > tria
 
MappingQ< dim > mapping
 
FE_DGQ< dim > dg_fe
 
DoFHandler< dim > classical_dh
 
std::unique_ptr< AgglomerationHandler< dim > > ah
 
SparsityPattern sparsity
 
SparseMatrix< double > system_matrix
 
Vector< double > solution
 
Vector< double > system_rhs
 
std::unique_ptr< GridTools::Cache< dim > > cached_tria
 
std::unique_ptr< const Function< dim > > rhs_function
 

Detailed Description

template<int dim>
class Poisson< dim >

Definition at line 43 of file assembly_check.cc.

Constructor & Destructor Documentation

◆ Poisson()

template<int dim>
Poisson< dim >::Poisson ( )

Definition at line 87 of file assembly_check.cc.

Member Function Documentation

◆ assemble_system()

◆ distribute_jumps_and_averages()

◆ make_grid()

template<int dim>
void Poisson< dim >::make_grid ( )
private

Definition at line 95 of file assembly_check.cc.

References GridGenerator::hyper_cube().

◆ output_results()

◆ run()

template<int dim>
void Poisson< dim >::run ( )

Definition at line 652 of file assembly_check.cc.

Referenced by main().

◆ setup_agglomeration()

template<int dim>
void Poisson< dim >::setup_agglomeration ( )
private

◆ solve()

template<int dim>
void Poisson< dim >::solve ( )
private

Member Data Documentation

◆ ah

template<int dim>
std::unique_ptr<AgglomerationHandler<dim> > Poisson< dim >::ah
private

Definition at line 68 of file assembly_check.cc.

◆ cached_tria

template<int dim>
std::unique_ptr<GridTools::Cache<dim> > Poisson< dim >::cached_tria
private

Definition at line 73 of file assembly_check.cc.

◆ classical_dh

template<int dim>
DoFHandler<dim> Poisson< dim >::classical_dh
private

Definition at line 67 of file assembly_check.cc.

◆ dg_fe

template<int dim>
FE_DGQ<dim> Poisson< dim >::dg_fe
private

Definition at line 66 of file assembly_check.cc.

◆ mapping

template<int dim>
MappingQ<dim> Poisson< dim >::mapping
private

Definition at line 65 of file assembly_check.cc.

◆ penalty

template<int dim>
double Poisson< dim >::penalty = 3.

Definition at line 81 of file assembly_check.cc.

◆ rhs_function

template<int dim>
std::unique_ptr<const Function<dim> > Poisson< dim >::rhs_function
private

Definition at line 74 of file assembly_check.cc.

◆ solution

template<int dim>
Vector<double> Poisson< dim >::solution
private

Definition at line 71 of file assembly_check.cc.

◆ sparsity

template<int dim>
SparsityPattern Poisson< dim >::sparsity
private

Definition at line 69 of file assembly_check.cc.

◆ system_matrix

template<int dim>
SparseMatrix<double> Poisson< dim >::system_matrix
private

Definition at line 70 of file assembly_check.cc.

◆ system_rhs

template<int dim>
Vector<double> Poisson< dim >::system_rhs
private

Definition at line 72 of file assembly_check.cc.

◆ tria

template<int dim>
Triangulation<dim> Poisson< dim >::tria
private

Definition at line 64 of file assembly_check.cc.


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