jacobi.template
Functions
userset.h File Reference
#include <cmath>

Go to the source code of this file.

Functions

double FunctF (double const x, double const y)
 
double FunctU (double const x, double const y)
 
double fNice (double const x, double const y)
 
double f_zero (double const x, double const y)
 

Function Documentation

◆ f_zero()

double f_zero ( double const  x,
double const  y 
)
inline

User function: f(x,y) = 0$.

Parameters
[in]xx-coordinate of discretization point
[in]yy-coordinate of discretization point
Returns
value 0

Definition at line 41 of file userset.h.

◆ fNice()

double fNice ( double const  x,
double const  y 
)
inline

User function: f(x,y) = \( x^2 \sin(2.5\pi y)\).

Parameters
[in]xx-coordinate of discretization point
[in]yy-coordinate of discretization point
Returns
value f(x,y)

Definition at line 28 of file userset.h.

◆ FunctF()

double FunctF ( double const  x,
double const  y 
)

User function: f(x,y)

Parameters
[in]xx-coordinate of discretization point
[in]yy-coordinate of discretization point
Returns
value for right hand side f(x,y)

Definition at line 5 of file userset.cpp.

◆ FunctU()

double FunctU ( double const  x,
double const  y 
)

User function: u(x,y)

Parameters
[in]xx-coordinate of discretization point
[in]yy-coordinate of discretization point
Returns
value for solution vector u(x,y)

Definition at line 13 of file userset.cpp.