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

Definition of functions creating Laplacian operator. More...

#include <map>
#include <numeric>
#include <petscmat.h>
#include <petibm/boundary.h>
#include <petibm/mesh.h>
#include <petibm/misc.h>
#include <petibm/type.h>
#include "../private/private.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::createLaplacian (const type::Mesh &mesh, const type::Boundary &bc, Mat &L, Mat &LCorrection)
 Create a Laplacian operator, $L$, and boundary correction, $L_{bc}$ for velocity fields. More...
 

Detailed Description

Definition of functions creating Laplacian operator.

License
BSD 3-Clause License.

Definition in file createlaplacian.cpp.