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 24 of file poisson-control/example_02.hpp.
Definition at line 34 of file poisson-control/example_02.hpp.
References FEM< Real >::pts_, and FEM< Real >::wts_.
|
inline |
Definition at line 61 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 62 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 64 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 95 of file poisson-control/example_02.hpp.
References FEM< Real >::nz().
|
inline |
Definition at line 134 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 156 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 194 of file poisson-control/example_02.hpp.
References FEM< Real >::build_jacobian_1(), and FEM< Real >::nu().
|
inline |
Definition at line 211 of file poisson-control/example_02.hpp.
References FEM< Real >::build_mesh(), FEM< Real >::nu(), and FEM< Real >::nz().
|
inline |
Definition at line 254 of file poisson-control/example_02.hpp.
References FEM< Real >::build_mesh(), FEM< Real >::nu(), and FEM< Real >::nz().
|
inline |
Definition at line 311 of file poisson-control/example_02.hpp.
References FEM< Real >::build_mesh().
|
inline |
Definition at line 330 of file poisson-control/example_02.hpp.
References FEM< Real >::build_mesh(), and FEM< Real >::nz().
|
inline |
Definition at line 348 of file poisson-control/example_02.hpp.
References FEM< Real >::build_mesh(), FEM< Real >::linear_solve(), and FEM< Real >::nz().
|
inline |
Definition at line 374 of file poisson-control/example_02.hpp.
Referenced by FEM< Real >::apply_inverse_mass_control().
|
inline |
Definition at line 396 of file poisson-control/example_02.hpp.
References FEM< Real >::build_mesh().
|
private |
Definition at line 26 of file poisson-control/example_02.hpp.
Referenced by FEM< Real >::build_mesh(), FEM< Real >::nu(), and FEM< Real >::nz().
|
private |
Definition at line 27 of file poisson-control/example_02.hpp.
Referenced by FEM< Real >::build_jacobian_1().
|
private |
Definition at line 28 of file poisson-control/example_02.hpp.
Referenced by FEM< Real >::build_jacobian_1().
|
private |
Definition at line 30 of file poisson-control/example_02.hpp.
Referenced by FEM< Real >::build_force(), and FEM< Real >::FEM().
|
private |
Definition at line 31 of file poisson-control/example_02.hpp.
Referenced by FEM< Real >::build_force(), and FEM< Real >::FEM().