v0.14.0
Macros | Functions | Variables
ConstrainMatrixCtx.cpp File Reference

Implementation of projection matrix. More...

#include <MoFEM.hpp>
#include <ConstrainMatrixCtx.hpp>

Go to the source code of this file.

Macros

#define INIT_DATA_CONSTRAINMATRIXCTX
 

Functions

MoFEMErrorCode ProjectionMatrixMultOpQ (Mat Q, Vec x, Vec f)
 Multiplication operator for Q = I-CTC(CCT)^-1C. More...
 
MoFEMErrorCode ConstrainMatrixMultOpP (Mat P, Vec x, Vec f)
 Multiplication operator for P = CT(CCT)^-1C. More...
 
MoFEMErrorCode ConstrainMatrixMultOpR (Mat R, Vec x, Vec f)
 Multiplication operator for R = CT(CCT)^-1. More...
 
MoFEMErrorCode ConstrainMatrixMultOpRT (Mat RT, Vec x, Vec f)
 Multiplication operator for RT = (CCT)^-TC. More...
 
MoFEMErrorCode ConstrainMatrixMultOpCTC_QTKQ (Mat CTC_QTKQ, Vec x, Vec f)
 Multiplication operator for RT = (CCT)^-TC. More...
 
MoFEMErrorCode ConstrainMatrixDestroyOpPorQ (Mat Q)
 Destroy shell matrix Q. More...
 
MoFEMErrorCode ConstrainMatrixDestroyOpQTKQ (Mat QTKQ)
 Destroy shell matrix. More...
 

Variables

const static bool debug = false
 

Detailed Description

Implementation of projection matrix.

FIXME: DESCRIPTION

Definition in file ConstrainMatrixCtx.cpp.

Macro Definition Documentation

◆ INIT_DATA_CONSTRAINMATRIXCTX

#define INIT_DATA_CONSTRAINMATRIXCTX
Value:
C(PETSC_NULL), CT(PETSC_NULL), CCT(PETSC_NULL), CTC(PETSC_NULL), \
K(PETSC_NULL), Cx(PETSC_NULL), CCTm1_Cx(PETSC_NULL), \
CT_CCTm1_Cx(PETSC_NULL), CTCx(PETSC_NULL), Qx(PETSC_NULL), \
KQx(PETSC_NULL), initQorP(true), initQTKQ(true), createKSP(create_ksp), \
createScatter(true), cancelKSPMonitor(true), \
ownConstrainMatrix(own_contrain_matrix)

Definition at line 15 of file ConstrainMatrixCtx.cpp.

Variable Documentation

◆ debug

const static bool debug = false
static

Definition at line 13 of file ConstrainMatrixCtx.cpp.

MoFEM::createKSP
auto createKSP(MPI_Comm comm)
Definition: PetscSmartObj.hpp:261