Mimetic Operators Library Enhanced 4.0
Loading...
Searching...
No Matches
Laplacian Class Reference

#include <laplacian.h>

Inheritance diagram for Laplacian:

Public Member Functions

 Laplacian (u16 k, u32 m, Real dx)
 
 Laplacian (u16 k, u32 m, u32 n, Real dx, Real dy)
 
 Laplacian (u16 k, u32 m, u32 n, u32 o, Real dx, Real dy, Real dz)
 

Detailed Description

Definition at line 7 of file laplacian.h.

Constructor & Destructor Documentation

◆ Laplacian() [1/3]

Laplacian::Laplacian ( u16 k,
u32 m,
Real dx )

Definition at line 4 of file laplacian.cpp.

5{
6 Divergence div(k, m, dx);
7 Gradient grad(k, m, dx);
8
9 // Dimensions = m+2, m+2
10 *this = (sp_mat)div*(sp_mat)grad;
11}

◆ Laplacian() [2/3]

Laplacian::Laplacian ( u16 k,
u32 m,
u32 n,
Real dx,
Real dy )

Definition at line 14 of file laplacian.cpp.

15{
16 Divergence div(k, m, n, dx, dy);
17 Gradient grad(k, m, n, dx, dy);
18
19 // Dimensions = (m+2)*(n+2), (m+2)*(n+2)
20 *this = (sp_mat)div*(sp_mat)grad;
21}

◆ Laplacian() [3/3]

Laplacian::Laplacian ( u16 k,
u32 m,
u32 n,
u32 o,
Real dx,
Real dy,
Real dz )

Definition at line 24 of file laplacian.cpp.

25{
26 Divergence div(k, m, n, o, dx, dy, dz);
27 Gradient grad(k, m, n, o, dx, dy, dz);
28
29 // Dimensions = (m+2)*(n+2)*(o+2), (m+2)*(n+2)*(o+2)
30 *this = (sp_mat)div*(sp_mat)grad;
31}

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