Mimetic Operators Library Enhanced
4.0
Loading...
Searching...
No Matches
divergence.h
Go to the documentation of this file.
1
#ifndef DIVERGENCE_H
2
#define DIVERGENCE_H
3
4
#include <cassert>
5
#include "
utils.h
"
6
7
class
Divergence
:
public
sp_mat
8
{
9
10
public
:
11
using
sp_mat::operator=;
12
13
// 1-D Constructor
14
Divergence
(u16 k, u32 m,
Real
dx);
15
// 2-D Constructor
16
Divergence
(u16 k, u32 m, u32 n,
Real
dx,
Real
dy);
17
// 3-D Constructor
18
Divergence
(u16 k, u32 m, u32 n, u32 o,
Real
dx,
Real
dy,
Real
dz);
19
// Returns weights
20
vec
getQ
();
21
22
private
:
23
vec Q;
24
};
25
26
#endif
// DIVERGENCE_H
Divergence
Definition
divergence.h:8
Divergence::getQ
vec getQ()
Definition
divergence.cpp:160
Divergence::Divergence
Divergence(u16 k, u32 m, Real dx)
Definition
divergence.cpp:4
utils.h
Real
double Real
Definition
utils.h:8
mole_C++
divergence.h
Generated by
1.10.0