Reference documentation for deal.II version 9.5.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
PETScWrappers::PreconditionBDDC< dim >::AdditionalData Struct Reference

#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
 

Detailed Description

template<int dim>
struct PETScWrappers::PreconditionBDDC< dim >::AdditionalData

Standardized data struct to pipe additional flags to the preconditioner.

Definition at line 1000 of file petsc_precondition.h.

Constructor & Destructor Documentation

◆ AdditionalData()

template<int dim>
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.

Member Data Documentation

◆ use_vertices

template<int dim>
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.

◆ use_edges

template<int dim>
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.

◆ use_faces

template<int dim>
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.

◆ symmetric

template<int dim>
bool PETScWrappers::PreconditionBDDC< dim >::AdditionalData::symmetric

Set whether the matrix is symmetric or not.

Definition at line 1035 of file petsc_precondition.h.

◆ coords

template<int dim>
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.


The documentation for this struct was generated from the following files: