PetIBM 0.5.4
Toolbox and applications of the immersed-boundary method for distributed-memory architectures
createbn.cpp File Reference

Definition of functions for creating approximated inverse A. More...

#include <cmath>
#include <petscmat.h>

Go to the source code of this file.

Namespaces

namespace  petibm
 A toolbox for building flow solvers.
 
namespace  petibm::operators
 Collections of factory functions of operators.
 

Functions

PetscErrorCode petibm::operators::createBnHead (const Mat &Op, const PetscReal &dt, const PetscReal &coeff, const PetscInt &n, Mat &BnHead)
 Create non-normalized matrix of approximated $A^{-1}$, $B_n$. More...
 
PetscErrorCode petibm::operators::createBn (const Mat &Op, const Mat &R, const Mat &MHead, const PetscReal &dt, const PetscReal &coeff, const PetscInt &n, Mat &Bn)
 Create normalized matrix of approximated $A^{-1}$, $B_n$. More...
 
PetscErrorCode petibm::operators::createBn (const Mat &Op, const Mat &M, const PetscReal &dt, const PetscReal &coeff, const PetscInt &n, Mat &Bn)
 Create normalized matrix of approximated $A^{-1}$, $B_n$. More...
 

Detailed Description

Definition of functions for creating approximated inverse A.

License
BSD 3-Clause License.

Definition in file createbn.cpp.