v0.15.0
Loading...
Searching...
No Matches
ConstrainMatrixCtx.cpp File Reference

Implementation of projection matrix. More...

Go to the source code of this file.

Namespaces

namespace  MoFEM
 implementation of Data Operators for Forces and Sources
 

Macros

#define INIT_DATA_CONSTRAINMATRIXCTX
 

Functions

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

Variables

static const bool MoFEM::debug = false
 

Detailed Description

Implementation of projection matrix.

Definition in file ConstrainMatrixCtx.cpp.

Macro Definition Documentation

◆ INIT_DATA_CONSTRAINMATRIXCTX

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

Definition at line 11 of file ConstrainMatrixCtx.cpp.

11#define INIT_DATA_CONSTRAINMATRIXCTX \
12 C(PETSC_NULLPTR), CT(PETSC_NULLPTR), CCT(PETSC_NULLPTR), CTC(PETSC_NULLPTR), \
13 K(PETSC_NULLPTR), Cx(PETSC_NULLPTR), CCTm1_Cx(PETSC_NULLPTR), \
14 CT_CCTm1_Cx(PETSC_NULLPTR), CTCx(PETSC_NULLPTR), Qx(PETSC_NULLPTR), \
15 KQx(PETSC_NULLPTR), initQorP(true), initQTKQ(true), createKSP(create_ksp), \
16 createScatter(true), cancelKSPMonitor(true), \
17 ownConstrainMatrix(own_contrain_matrix)