ROL
|
#include <example_02.hpp>
Public Member Functions | |
FEM (int nx=128, Real kl=0.1, Real kr=10.0) | |
int | nu (void) |
int | nz (void) |
void | build_mesh (std::vector< Real > &x, const std::vector< Real > ¶m) |
void | build_mesh (std::vector< Real > &x) |
void | build_force (std::vector< Real > &F, const std::vector< Real > ¶m) |
void | build_jacobian_1 (std::vector< Real > &dl, std::vector< Real > &d, std::vector< Real > &du, const std::vector< Real > ¶m) |
void | apply_jacobian_1 (std::vector< Real > &jv, const std::vector< Real > &v, const std::vector< Real > ¶m) |
void | apply_jacobian_2 (std::vector< Real > &jv, const std::vector< Real > &v, const std::vector< Real > ¶m) |
void | apply_adjoint_jacobian_2 (std::vector< Real > &jv, const std::vector< Real > &v, const std::vector< Real > ¶m) |
void | apply_mass_state (std::vector< Real > &Mv, const std::vector< Real > &v, const std::vector< Real > ¶m) |
void | apply_mass_control (std::vector< Real > &Mv, const std::vector< Real > &v) |
void | apply_inverse_mass_control (std::vector< Real > &Mv, const std::vector< Real > &v) |
void | linear_solve (std::vector< Real > &u, std::vector< Real > &dl, std::vector< Real > &d, std::vector< Real > &du, const std::vector< Real > &r, const bool transpose=false) |
Real | evaluate_target (int i, const std::vector< Real > ¶m) |
Private Attributes | |
int | nx_ |
Real | kl_ |
Real | kr_ |
std::vector< Real > | pts_ |
std::vector< Real > | wts_ |
Definition at line 15 of file poisson-control/example_02.hpp.
Definition at line 25 of file poisson-control/example_02.hpp.
References FEM< Real >::pts_, and FEM< Real >::wts_.
|
inline |
Definition at line 52 of file poisson-control/example_02.hpp.
References FEM< Real >::nx_.
Referenced by FEM< Real >::apply_adjoint_jacobian_2(), FEM< Real >::apply_jacobian_1(), FEM< Real >::apply_jacobian_2(), FEM< Real >::build_force(), and FEM< Real >::build_jacobian_1().
|
inline |
Definition at line 53 of file poisson-control/example_02.hpp.
References FEM< Real >::nx_.
Referenced by FEM< Real >::apply_adjoint_jacobian_2(), FEM< Real >::apply_inverse_mass_control(), FEM< Real >::apply_jacobian_2(), FEM< Real >::apply_mass_control(), and FEM< Real >::build_mesh().
|
inline |
Definition at line 55 of file poisson-control/example_02.hpp.
References FEM< Real >::nx_.
Referenced by FEM< Real >::apply_adjoint_jacobian_2(), FEM< Real >::apply_inverse_mass_control(), FEM< Real >::apply_jacobian_2(), FEM< Real >::apply_mass_control(), FEM< Real >::apply_mass_state(), FEM< Real >::build_force(), FEM< Real >::build_jacobian_1(), and FEM< Real >::evaluate_target().
|
inline |
Definition at line 86 of file poisson-control/example_02.hpp.
References FEM< Real >::nz().
|
inline |
Definition at line 125 of file poisson-control/example_02.hpp.
References FEM< Real >::build_mesh(), FEM< Real >::nu(), FEM< Real >::pts_, and FEM< Real >::wts_.
|
inline |
Definition at line 147 of file poisson-control/example_02.hpp.
References FEM< Real >::build_mesh(), FEM< Real >::kl_, FEM< Real >::kr_, and FEM< Real >::nu().
Referenced by FEM< Real >::apply_jacobian_1().
|
inline |
Definition at line 185 of file poisson-control/example_02.hpp.
References FEM< Real >::build_jacobian_1(), and FEM< Real >::nu().
|
inline |
Definition at line 202 of file poisson-control/example_02.hpp.
References FEM< Real >::build_mesh(), FEM< Real >::nu(), and FEM< Real >::nz().
|
inline |
Definition at line 245 of file poisson-control/example_02.hpp.
References FEM< Real >::build_mesh(), FEM< Real >::nu(), and FEM< Real >::nz().
|
inline |
Definition at line 302 of file poisson-control/example_02.hpp.
References FEM< Real >::build_mesh().
|
inline |
Definition at line 321 of file poisson-control/example_02.hpp.
References FEM< Real >::build_mesh(), and FEM< Real >::nz().
|
inline |
Definition at line 339 of file poisson-control/example_02.hpp.
References FEM< Real >::build_mesh(), FEM< Real >::linear_solve(), and FEM< Real >::nz().
|
inline |
Definition at line 365 of file poisson-control/example_02.hpp.
Referenced by FEM< Real >::apply_inverse_mass_control().
|
inline |
Definition at line 387 of file poisson-control/example_02.hpp.
References FEM< Real >::build_mesh().
|
private |
Definition at line 17 of file poisson-control/example_02.hpp.
Referenced by FEM< Real >::build_mesh(), FEM< Real >::nu(), and FEM< Real >::nz().
|
private |
Definition at line 18 of file poisson-control/example_02.hpp.
Referenced by FEM< Real >::build_jacobian_1().
|
private |
Definition at line 19 of file poisson-control/example_02.hpp.
Referenced by FEM< Real >::build_jacobian_1().
|
private |
Definition at line 21 of file poisson-control/example_02.hpp.
Referenced by FEM< Real >::build_force(), and FEM< Real >::FEM().
|
private |
Definition at line 22 of file poisson-control/example_02.hpp.
Referenced by FEM< Real >::build_force(), and FEM< Real >::FEM().