Mimetic Operators Library Enhanced 4.0
Loading...
Searching...
No Matches
operators.h File Reference
#include "interpol.h"
#include "laplacian.h"
#include "mixedbc.h"
#include "robinbc.h"
Include dependency graph for operators.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

sp_mat operator* (const Divergence &div, const Gradient &grad)
 
sp_mat operator+ (const Laplacian &lap, const RobinBC &bc)
 
sp_mat operator+ (const Laplacian &lap, const MixedBC &bc)
 
vec operator* (const Divergence &div, const vec &v)
 
vec operator* (const Gradient &grad, const vec &v)
 
vec operator* (const Laplacian &lap, const vec &v)
 
vec operator* (const Interpol &I, const vec &v)
 

Function Documentation

◆ operator*() [1/5]

sp_mat operator* ( const Divergence & div,
const Gradient & grad )
inline

Definition at line 22 of file operators.h.

22 {
23 return (sp_mat)div * (sp_mat)grad;
24}

◆ operator*() [2/5]

vec operator* ( const Divergence & div,
const vec & v )
inline

Definition at line 34 of file operators.h.

34 {
35 return (sp_mat)div * v;
36}

◆ operator*() [3/5]

vec operator* ( const Gradient & grad,
const vec & v )
inline

Definition at line 38 of file operators.h.

38 {
39 return (sp_mat)grad * v;
40}

◆ operator*() [4/5]

vec operator* ( const Interpol & I,
const vec & v )
inline

Definition at line 46 of file operators.h.

46 {
47 return (sp_mat)I * v;
48}

◆ operator*() [5/5]

vec operator* ( const Laplacian & lap,
const vec & v )
inline

Definition at line 42 of file operators.h.

42 {
43 return (sp_mat)lap * v;
44}

◆ operator+() [1/2]

sp_mat operator+ ( const Laplacian & lap,
const MixedBC & bc )
inline

Definition at line 30 of file operators.h.

30 {
31 return (sp_mat)lap + (sp_mat)bc;
32}

◆ operator+() [2/2]

sp_mat operator+ ( const Laplacian & lap,
const RobinBC & bc )
inline

Definition at line 26 of file operators.h.

26 {
27 return (sp_mat)lap + (sp_mat)bc;
28}