MFEM  v4.5.2
Finite element discretization library
Public Member Functions | Protected Attributes | Friends | List of all members
mfem::PetscBDDCSolverParams Class Reference

Auxiliary class for BDDC customization. More...

#include <petsc.hpp>

Collaboration diagram for mfem::PetscBDDCSolverParams:
[legend]

Public Member Functions

 PetscBDDCSolverParams ()
 
void SetSpace (ParFiniteElementSpace *fe)
 
void SetEssBdrDofs (const Array< int > *essdofs, bool loc=false)
 Specify dofs on the essential boundary. More...
 
void SetNatBdrDofs (const Array< int > *natdofs, bool loc=false)
 Specify dofs on the natural boundary. More...
 
void SetComputeNetFlux (bool net=true)
 Setup BDDC with no-net-flux local solvers. Needs a ParFiniteElementSpace attached. More...
 

Protected Attributes

ParFiniteElementSpacefespace
 
const Array< int > * ess_dof
 
bool ess_dof_local
 
const Array< int > * nat_dof
 
bool nat_dof_local
 
bool netflux
 

Friends

class PetscBDDCSolver
 

Detailed Description

Auxiliary class for BDDC customization.

Definition at line 827 of file petsc.hpp.

Constructor & Destructor Documentation

◆ PetscBDDCSolverParams()

mfem::PetscBDDCSolverParams::PetscBDDCSolverParams ( )
inline

Definition at line 839 of file petsc.hpp.

Member Function Documentation

◆ SetComputeNetFlux()

void mfem::PetscBDDCSolverParams::SetComputeNetFlux ( bool  net = true)
inline

Setup BDDC with no-net-flux local solvers. Needs a ParFiniteElementSpace attached.

Definition at line 861 of file petsc.hpp.

◆ SetEssBdrDofs()

void mfem::PetscBDDCSolverParams::SetEssBdrDofs ( const Array< int > *  essdofs,
bool  loc = false 
)
inline

Specify dofs on the essential boundary.

If loc is false, it is a list of true dofs in local ordering. If loc is true, it is a marker for Vdofs in local ordering.

Definition at line 847 of file petsc.hpp.

◆ SetNatBdrDofs()

void mfem::PetscBDDCSolverParams::SetNatBdrDofs ( const Array< int > *  natdofs,
bool  loc = false 
)
inline

Specify dofs on the natural boundary.

If loc is false, it is a list of true dofs in local ordering. If loc is true, it is a marker for Vdofs in local ordering.

Definition at line 855 of file petsc.hpp.

◆ SetSpace()

void mfem::PetscBDDCSolverParams::SetSpace ( ParFiniteElementSpace fe)
inline

Definition at line 842 of file petsc.hpp.

Friends And Related Function Documentation

◆ PetscBDDCSolver

friend class PetscBDDCSolver
friend

Definition at line 836 of file petsc.hpp.

Member Data Documentation

◆ ess_dof

const Array<int>* mfem::PetscBDDCSolverParams::ess_dof
protected

Definition at line 831 of file petsc.hpp.

◆ ess_dof_local

bool mfem::PetscBDDCSolverParams::ess_dof_local
protected

Definition at line 832 of file petsc.hpp.

◆ fespace

ParFiniteElementSpace* mfem::PetscBDDCSolverParams::fespace
protected

Definition at line 830 of file petsc.hpp.

◆ nat_dof

const Array<int>* mfem::PetscBDDCSolverParams::nat_dof
protected

Definition at line 833 of file petsc.hpp.

◆ nat_dof_local

bool mfem::PetscBDDCSolverParams::nat_dof_local
protected

Definition at line 834 of file petsc.hpp.

◆ netflux

bool mfem::PetscBDDCSolverParams::netflux
protected

Definition at line 835 of file petsc.hpp.


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