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 |
Definition at line 43 of file assembly_check.cc.
Definition at line 87 of file assembly_check.cc.
References classical_dh, dg_fe, mapping, and tria.
|
private |
Definition at line 327 of file assembly_check.cc.
References classical_dh, dg_fe, distribute_jumps_and_averages(), FEValues< int dim, int spacedim >::get_quadrature_points(), FEValues< int dim, int spacedim >::JxW(), DoFTools::make_flux_sparsity_pattern(), mapping, FEValues< int dim, int spacedim >::quadrature_point_indices(), FEValues< int dim, int spacedim >::reinit(), rhs_function, FEValues< int dim, int spacedim >::shape_grad(), FEValues< int dim, int spacedim >::shape_value(), solution, sparsity, system_matrix, and system_rhs.
Referenced by run().
|
private |
Definition at line 175 of file assembly_check.cc.
References classical_dh, FEFaceValues< int dim, int spacedim >::dofs_per_cell, FEFaceValues< int dim, int spacedim >::get_normal_vectors(), FEFaceValues< int dim, int spacedim >::JxW(), penalty, FEFaceValues< int dim, int spacedim >::quadrature_point_indices(), FEFaceValues< int dim, int spacedim >::reinit(), FEFaceValues< int dim, int spacedim >::shape_grad(), FEFaceValues< int dim, int spacedim >::shape_value(), and system_matrix.
Referenced by assemble_system().
|
private |
Definition at line 95 of file assembly_check.cc.
References cached_tria, classical_dh, dg_fe, GridGenerator::hyper_cube(), mapping, rhs_function, and tria.
Referenced by run().
|
private |
Definition at line 637 of file assembly_check.cc.
References DataOut< int dim, int spacedim >::add_data_vector(), DataOut< int dim, int spacedim >::attach_dof_handler(), DataOut< int dim, int spacedim >::build_patches(), classical_dh, mapping, solution, DataOut< int dim, int spacedim >::type_dof_data, and DataOut< int dim, int spacedim >::write_vtu().
Referenced by run().
void Poisson< dim >::run | ( | ) |
Definition at line 652 of file assembly_check.cc.
References assemble_system(), make_grid(), output_results(), solve(), and system_matrix.
Referenced by main().
|
private |
Definition at line 109 of file assembly_check.cc.
References ah, dealii::PolyUtils::collect_cells_for_agglomeration(), dg_fe, sparsity, tria, and GridOut::write_vtk().
|
private |
Definition at line 626 of file assembly_check.cc.
References SparseDirectUMFPACK::initialize(), solution, system_matrix, system_rhs, and SparseDirectUMFPACK::vmult().
Referenced by run().
|
private |
Definition at line 68 of file assembly_check.cc.
Referenced by setup_agglomeration().
|
private |
Definition at line 73 of file assembly_check.cc.
Referenced by make_grid().
|
private |
Definition at line 67 of file assembly_check.cc.
Referenced by assemble_system(), distribute_jumps_and_averages(), make_grid(), output_results(), and Poisson().
Definition at line 66 of file assembly_check.cc.
Referenced by assemble_system(), make_grid(), Poisson(), and setup_agglomeration().
Definition at line 65 of file assembly_check.cc.
Referenced by assemble_system(), make_grid(), output_results(), and Poisson().
double Poisson< dim >::penalty = 3. |
Definition at line 81 of file assembly_check.cc.
Referenced by distribute_jumps_and_averages().
Definition at line 74 of file assembly_check.cc.
Referenced by assemble_system(), and make_grid().
Definition at line 71 of file assembly_check.cc.
Referenced by assemble_system(), output_results(), and solve().
|
private |
Definition at line 69 of file assembly_check.cc.
Referenced by assemble_system(), and setup_agglomeration().
|
private |
Definition at line 70 of file assembly_check.cc.
Referenced by assemble_system(), distribute_jumps_and_averages(), run(), and solve().
Definition at line 72 of file assembly_check.cc.
Referenced by assemble_system(), and solve().
|
private |
Definition at line 64 of file assembly_check.cc.
Referenced by make_grid(), Poisson(), and setup_agglomeration().