Mimetic Operators Library Enhanced 4.0
Loading...
Searching...
No Matches
operators.h File Reference
#include "laplacian.h"
#include "interpol.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)
 
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 8 of file operators.h.

9{
10 return (sp_mat)div*(sp_mat)grad;
11}

◆ operator*() [2/5]

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

Definition at line 18 of file operators.h.

19{
20 return (sp_mat)div*v;
21}

◆ operator*() [3/5]

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

Definition at line 23 of file operators.h.

24{
25 return (sp_mat)grad*v;
26}

◆ operator*() [4/5]

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

Definition at line 33 of file operators.h.

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

◆ operator*() [5/5]

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

Definition at line 28 of file operators.h.

29{
30 return (sp_mat)lap*v;
31}

◆ operator+()

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

Definition at line 13 of file operators.h.

14{
15 return (sp_mat)lap+(sp_mat)bc;
16}