MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <NonlinearSystem.h>
Public Member Functions | |
int | apply () |
vector_type | compute_at (const vector_type &x) |
int | compute_jacobians (const vector_type &x, bool compute_inverse=true) |
void | correction_step () |
Makes the first guess. After this call the Newton method. More... | |
bool | find_roots_gnewton (double tolerance=1e-7, size_t max_iter=50) |
Find roots using Newton-Raphson method. More... | |
template<typename T > | |
void | initialize (const T &x) |
NonlinearSystem (size_t systemSize) | |
value_type | slope (unsigned int which_dimen) |
Compute the slope of function in given dimension. More... | |
int | system (const vector_type &x, vector_type &f) |
string | to_string () |
Public Attributes | |
double | dx_ |
vector_type | f_ |
matrix_type | invJ_ |
bool | is_f_positive_ |
bool | is_jacobian_valid_ |
matrix_type | J_ |
ReacInfo | ri |
const size_t | size_ |
vector_type | slopes_ |
vector_type | x1 |
vector_type | x2 |
vector_type | x_ |
Definition at line 88 of file NonlinearSystem.h.
|
inline |
Definition at line 93 of file NonlinearSystem.h.
|
inline |
Definition at line 116 of file NonlinearSystem.h.
|
inline |
Definition at line 109 of file NonlinearSystem.h.
|
inline |
Definition at line 121 of file NonlinearSystem.h.
References inverse().
|
inline |
Makes the first guess. After this call the Newton method.
Definition at line 279 of file NonlinearSystem.h.
|
inline |
Find roots using Newton-Raphson method.
tolerance | 1e-7 |
max_iter | Maximum number of iteration allowed , default 100 |
x_
at which the system f_ is close to zero (within the tolerance). Definition at line 225 of file NonlinearSystem.h.
|
inline |
Definition at line 141 of file NonlinearSystem.h.
References init().
|
inline |
Compute the slope of function in given dimension.
which_dimen | The index of dimension. |
Definition at line 264 of file NonlinearSystem.h.
|
inline |
Definition at line 168 of file NonlinearSystem.h.
|
inline |
Definition at line 155 of file NonlinearSystem.h.
double NonlinearSystem::dx_ |
Definition at line 321 of file NonlinearSystem.h.
vector_type NonlinearSystem::f_ |
Definition at line 323 of file NonlinearSystem.h.
matrix_type NonlinearSystem::invJ_ |
Definition at line 327 of file NonlinearSystem.h.
bool NonlinearSystem::is_f_positive_ |
Definition at line 330 of file NonlinearSystem.h.
bool NonlinearSystem::is_jacobian_valid_ |
Definition at line 329 of file NonlinearSystem.h.
matrix_type NonlinearSystem::J_ |
Definition at line 326 of file NonlinearSystem.h.
ReacInfo NonlinearSystem::ri |
Definition at line 335 of file NonlinearSystem.h.
const size_t NonlinearSystem::size_ |
Definition at line 319 of file NonlinearSystem.h.
vector_type NonlinearSystem::slopes_ |
Definition at line 325 of file NonlinearSystem.h.
vector_type NonlinearSystem::x1 |
Definition at line 333 of file NonlinearSystem.h.
vector_type NonlinearSystem::x2 |
Definition at line 333 of file NonlinearSystem.h.
vector_type NonlinearSystem::x_ |
Definition at line 324 of file NonlinearSystem.h.