LORENE
|
This class defines a variable change to be used when solving elliptic equations. More...
#include <change_var.h>
Public Member Functions | |
Change_var (int var) | |
Additive factor for F ## PROVISORY. More... | |
Change_var (int var, double) | |
Standard constructor. More... | |
Change_var (int var, double, double) | |
Standard constructor. More... | |
Change_var (const Change_var &so) | |
~Change_var () | |
Constructor by copy. More... | |
double | val_F (double x) |
Standard destructor. More... | |
double | val_der_F (double x) |
Returns the value of at { x}. More... | |
double | val_G (double x) |
Returns the value of at { x}. More... | |
double | val_der_G (double x) |
Returns the value of at { x}. More... | |
Protected Attributes | |
double(* | func_F )(double) |
double(* | der_F )(double) |
Pointer on the function . More... | |
double(* | func_G )(double) |
Pointer on the derivative of . More... | |
double(* | der_G )(double) |
Pointer on the function . More... | |
double | mult_F |
Pointer on the derivative of . More... | |
double | add_F |
Multiplicative factor for F ## PROVISORY. More... | |
This class defines a variable change to be used when solving elliptic equations.
In {one particular domain}, the change is defined as follows :()
where is the usual variable, i.e. the one that is and is the variable used for solving the elliptic equation. The functions and are arbitrary functions of . The type of change must be explicitely implemented in the constructor for { Change_var}.
Definition at line 98 of file change_var.h.
Lorene::Change_var::Change_var | ( | int | var | ) |
Additive factor for F ## PROVISORY.
Standard constructor. Case with without parameter. { var} defines explicitely the type of variable to be used. Are currently implemented : {itemize} { var} . { var} . { var} . { var} . { var} . { var} . {itemize}
Definition at line 102 of file change_var.C.
Lorene::Change_var::Change_var | ( | int | var, |
double | mult | ||
) |
Lorene::Change_var::Change_var | ( | int | var, |
double | mult, | ||
double | add | ||
) |
Lorene::Change_var::~Change_var | ( | ) |
Constructor by copy.
Definition at line 277 of file change_var.C.
double Lorene::Change_var::val_der_F | ( | double | x | ) |
Returns the value of at { x}.
Definition at line 283 of file change_var.C.
double Lorene::Change_var::val_der_G | ( | double | x | ) |
double Lorene::Change_var::val_F | ( | double | x | ) |
double Lorene::Change_var::val_G | ( | double | x | ) |
|
protected |
Multiplicative factor for F ## PROVISORY.
Definition at line 107 of file change_var.h.
|
protected |
Pointer on the function .
Definition at line 102 of file change_var.h.
|
protected |
Pointer on the function .
Definition at line 104 of file change_var.h.
|
protected |
Pointer on the derivative of .
Definition at line 103 of file change_var.h.
|
protected |
Pointer on the derivative of .
Definition at line 106 of file change_var.h.