Reference documentation for deal.II version 9.5.0
|
#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 1000 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 909 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 1016 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 1023 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 1030 of file petsc_precondition.h.
bool PETScWrappers::PreconditionBDDC< dim >::AdditionalData::symmetric |
Set whether the matrix is symmetric or not.
Definition at line 1035 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 1041 of file petsc_precondition.h.