deal.II version GIT relicensing-2167-g9622207b8f 2024-11-21 12:40:00+00:00
|
#include <deal.II/lac/petsc_precondition.h>
Public Member Functions | |
AdditionalData (const bool use_vertices=true, const bool use_edges=false, const bool use_faces=false, const bool symmetric=false, const std::vector< Point< dim > > coords={}) | |
Public Attributes | |
bool | use_vertices |
bool | use_edges |
bool | use_faces |
bool | symmetric |
std::vector< Point< dim > > | coords |
Standardized data struct to pipe additional flags to the preconditioner.
Definition at line 999 of file petsc_precondition.h.
PETScWrappers::PreconditionBDDC< dim >::AdditionalData::AdditionalData | ( | const bool | use_vertices = true , |
const bool | use_edges = false , |
||
const bool | use_faces = false , |
||
const bool | symmetric = false , |
||
const std::vector< Point< dim > > | coords = {} |
||
) |
Constructor. Note that BDDC offers a lot more options to set than what is exposed here.
Definition at line 908 of file petsc_precondition.cc.
bool PETScWrappers::PreconditionBDDC< dim >::AdditionalData::use_vertices |
This flag sets the use of degrees of freedom in the vertices of the subdomains as primal variables for the creation of the coarse space.
Definition at line 1015 of file petsc_precondition.h.
bool PETScWrappers::PreconditionBDDC< dim >::AdditionalData::use_edges |
This flag sets the use of degrees of freedom in the edges of the subdomain as primal variables for the creation of the coarse space. Continuity is actually imposed at the edge average.
Definition at line 1022 of file petsc_precondition.h.
bool PETScWrappers::PreconditionBDDC< dim >::AdditionalData::use_faces |
This flag sets the use of degrees of freedom in the faces of the subdomain as primal variables for the creation of the coarse space. Continuity is actually imposed at the face average.
Definition at line 1029 of file petsc_precondition.h.
bool PETScWrappers::PreconditionBDDC< dim >::AdditionalData::symmetric |
Set whether the matrix is symmetric or not.
Definition at line 1034 of file petsc_precondition.h.
std::vector<Point<dim> > PETScWrappers::PreconditionBDDC< dim >::AdditionalData::coords |
Set the location of each DoF. This helps in improving the definition of the vertices for unstructured meshes.
Definition at line 1040 of file petsc_precondition.h.