ROL
Public Member Functions | Private Member Functions | Private Attributes | List of all members
BurgersFEM< Real > Class Template Reference

#include <test_04.hpp>

Public Member Functions

 BurgersFEM (int nx=128, Real nl=1.0, Real cH1=1.0, Real cL2=1.0)
 
void set_problem_data (const Real nu, const Real f, const Real u0, const Real u1)
 
int num_dof (void) const
 
Real mesh_spacing (void) const
 
Real compute_L2_dot (const std::vector< Real > &x, const std::vector< Real > &y) const
 
Real compute_L2_norm (const std::vector< Real > &r) const
 
void apply_mass (std::vector< Real > &Mu, const std::vector< Real > &u) const
 
void apply_inverse_mass (std::vector< Real > &Mu, const std::vector< Real > &u) const
 
void test_inverse_mass (std::ostream &outStream=std::cout)
 
Real compute_H1_dot (const std::vector< Real > &x, const std::vector< Real > &y) const
 
Real compute_H1_norm (const std::vector< Real > &r) const
 
void apply_H1 (std::vector< Real > &Mu, const std::vector< Real > &u) const
 
void apply_inverse_H1 (std::vector< Real > &Mu, const std::vector< Real > &u) const
 
void test_inverse_H1 (std::ostream &outStream=std::cout)
 
void compute_residual (std::vector< Real > &r, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void compute_pde_jacobian (std::vector< Real > &dl, std::vector< Real > &d, std::vector< Real > &du, const std::vector< Real > &u) const
 
void apply_pde_jacobian (std::vector< Real > &jv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_inverse_pde_jacobian (std::vector< Real > &ijv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_adjoint_pde_jacobian (std::vector< Real > &ajv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_inverse_adjoint_pde_jacobian (std::vector< Real > &iajv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_control_jacobian (std::vector< Real > &jv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_adjoint_control_jacobian (std::vector< Real > &jv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_adjoint_pde_hessian (std::vector< Real > &ahwv, const std::vector< Real > &w, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_adjoint_pde_control_hessian (std::vector< Real > &ahwv, const std::vector< Real > &w, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z)
 
void apply_adjoint_control_pde_hessian (std::vector< Real > &ahwv, const std::vector< Real > &w, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z)
 
void apply_adjoint_control_hessian (std::vector< Real > &ahwv, const std::vector< Real > &w, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z)
 
 BurgersFEM (int nx=128, Real nu=1.e-2, Real nl=1.0, Real u0=1.0, Real u1=0.0, Real f=0.0, Real cH1=1.0, Real cL2=1.0)
 
int num_dof (void) const
 
Real mesh_spacing (void) const
 
Real compute_L2_dot (const std::vector< Real > &x, const std::vector< Real > &y) const
 
Real compute_L2_norm (const std::vector< Real > &r) const
 
void apply_mass (std::vector< Real > &Mu, const std::vector< Real > &u) const
 
void apply_inverse_mass (std::vector< Real > &Mu, const std::vector< Real > &u) const
 
void test_inverse_mass (std::ostream &outStream=std::cout)
 
Real compute_H1_dot (const std::vector< Real > &x, const std::vector< Real > &y) const
 
Real compute_H1_norm (const std::vector< Real > &r) const
 
void apply_H1 (std::vector< Real > &Mu, const std::vector< Real > &u) const
 
void apply_inverse_H1 (std::vector< Real > &Mu, const std::vector< Real > &u) const
 
void test_inverse_H1 (std::ostream &outStream=std::cout)
 
void compute_residual (std::vector< Real > &r, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void compute_pde_jacobian (std::vector< Real > &dl, std::vector< Real > &d, std::vector< Real > &du, const std::vector< Real > &u) const
 
void apply_pde_jacobian (std::vector< Real > &jv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_inverse_pde_jacobian (std::vector< Real > &ijv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_adjoint_pde_jacobian (std::vector< Real > &ajv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_inverse_adjoint_pde_jacobian (std::vector< Real > &iajv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_control_jacobian (std::vector< Real > &jv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_adjoint_control_jacobian (std::vector< Real > &jv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_adjoint_pde_hessian (std::vector< Real > &ahwv, const std::vector< Real > &w, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_adjoint_pde_control_hessian (std::vector< Real > &ahwv, const std::vector< Real > &w, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z)
 
void apply_adjoint_control_pde_hessian (std::vector< Real > &ahwv, const std::vector< Real > &w, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z)
 
void apply_adjoint_control_hessian (std::vector< Real > &ahwv, const std::vector< Real > &w, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z)
 
 BurgersFEM (int nx=128, Real nl=1.0, Real cH1=1.0, Real cL2=1.0)
 
void set_problem_data (const Real nu, const Real f, const Real u0, const Real u1)
 
int num_dof (void) const
 
Real mesh_spacing (void) const
 
Real compute_L2_dot (const std::vector< Real > &x, const std::vector< Real > &y) const
 
Real compute_L2_norm (const std::vector< Real > &r) const
 
void apply_mass (std::vector< Real > &Mu, const std::vector< Real > &u) const
 
void apply_inverse_mass (std::vector< Real > &Mu, const std::vector< Real > &u) const
 
void test_inverse_mass (std::ostream &outStream=std::cout)
 
Real compute_H1_dot (const std::vector< Real > &x, const std::vector< Real > &y) const
 
Real compute_H1_norm (const std::vector< Real > &r) const
 
void apply_H1 (std::vector< Real > &Mu, const std::vector< Real > &u) const
 
void apply_inverse_H1 (std::vector< Real > &Mu, const std::vector< Real > &u) const
 
void test_inverse_H1 (std::ostream &outStream=std::cout)
 
void compute_residual (std::vector< Real > &r, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void compute_pde_jacobian (std::vector< Real > &dl, std::vector< Real > &d, std::vector< Real > &du, const std::vector< Real > &u) const
 
void apply_pde_jacobian (std::vector< Real > &jv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_inverse_pde_jacobian (std::vector< Real > &ijv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_adjoint_pde_jacobian (std::vector< Real > &ajv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_inverse_adjoint_pde_jacobian (std::vector< Real > &iajv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_control_jacobian (std::vector< Real > &jv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_adjoint_control_jacobian (std::vector< Real > &jv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_adjoint_pde_hessian (std::vector< Real > &ahwv, const std::vector< Real > &w, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_adjoint_pde_control_hessian (std::vector< Real > &ahwv, const std::vector< Real > &w, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z)
 
void apply_adjoint_control_pde_hessian (std::vector< Real > &ahwv, const std::vector< Real > &w, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z)
 
void apply_adjoint_control_hessian (std::vector< Real > &ahwv, const std::vector< Real > &w, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z)
 
 BurgersFEM (int nx=128, Real nl=1.0, Real cH1=1.0, Real cL2=1.0)
 
void set_problem_data (const Real nu, const Real f, const Real u0, const Real u1)
 
Real get_viscosity (void) const
 
int num_dof (void) const
 
Real mesh_spacing (void) const
 
Real compute_L2_dot (const std::vector< Real > &x, const std::vector< Real > &y) const
 
Real compute_L2_norm (const std::vector< Real > &r) const
 
void apply_mass (std::vector< Real > &Mu, const std::vector< Real > &u) const
 
void apply_inverse_mass (std::vector< Real > &Mu, const std::vector< Real > &u) const
 
void test_inverse_mass (std::ostream &outStream=std::cout)
 
Real compute_H1_dot (const std::vector< Real > &x, const std::vector< Real > &y) const
 
Real compute_H1_norm (const std::vector< Real > &r) const
 
void apply_H1 (std::vector< Real > &Mu, const std::vector< Real > &u) const
 
void apply_inverse_H1 (std::vector< Real > &Mu, const std::vector< Real > &u) const
 
void test_inverse_H1 (std::ostream &outStream=std::cout)
 
void compute_residual (std::vector< Real > &r, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void compute_pde_jacobian (std::vector< Real > &dl, std::vector< Real > &d, std::vector< Real > &du, const std::vector< Real > &u) const
 
void apply_pde_jacobian (std::vector< Real > &jv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_inverse_pde_jacobian (std::vector< Real > &ijv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_adjoint_pde_jacobian (std::vector< Real > &ajv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_inverse_adjoint_pde_jacobian (std::vector< Real > &iajv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_control_jacobian (std::vector< Real > &jv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_adjoint_control_jacobian (std::vector< Real > &jv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_adjoint_pde_hessian (std::vector< Real > &ahwv, const std::vector< Real > &w, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_adjoint_pde_control_hessian (std::vector< Real > &ahwv, const std::vector< Real > &w, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z)
 
void apply_adjoint_control_pde_hessian (std::vector< Real > &ahwv, const std::vector< Real > &w, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z)
 
void apply_adjoint_control_hessian (std::vector< Real > &ahwv, const std::vector< Real > &w, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z)
 
 BurgersFEM (int nx=128, Real nl=1.0, Real cH1=1.0, Real cL2=1.0)
 
void set_problem_data (const Real nu, const Real f, const Real u0, const Real u1)
 
int num_dof (void) const
 
Real mesh_spacing (void) const
 
Real compute_L2_dot (const std::vector< Real > &x, const std::vector< Real > &y) const
 
Real compute_L2_norm (const std::vector< Real > &r) const
 
void apply_mass (std::vector< Real > &Mu, const std::vector< Real > &u) const
 
void apply_inverse_mass (std::vector< Real > &Mu, const std::vector< Real > &u) const
 
void test_inverse_mass (std::ostream &outStream=std::cout)
 
Real compute_H1_dot (const std::vector< Real > &x, const std::vector< Real > &y) const
 
Real compute_H1_norm (const std::vector< Real > &r) const
 
void apply_H1 (std::vector< Real > &Mu, const std::vector< Real > &u) const
 
void apply_inverse_H1 (std::vector< Real > &Mu, const std::vector< Real > &u) const
 
void test_inverse_H1 (std::ostream &outStream=std::cout)
 
void compute_residual (std::vector< Real > &r, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void compute_pde_jacobian (std::vector< Real > &dl, std::vector< Real > &d, std::vector< Real > &du, const std::vector< Real > &u) const
 
void apply_pde_jacobian (std::vector< Real > &jv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_inverse_pde_jacobian (std::vector< Real > &ijv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_adjoint_pde_jacobian (std::vector< Real > &ajv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_inverse_adjoint_pde_jacobian (std::vector< Real > &iajv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_control_jacobian (std::vector< Real > &jv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_adjoint_control_jacobian (std::vector< Real > &jv, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_adjoint_pde_hessian (std::vector< Real > &ahwv, const std::vector< Real > &w, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z) const
 
void apply_adjoint_pde_control_hessian (std::vector< Real > &ahwv, const std::vector< Real > &w, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z)
 
void apply_adjoint_control_pde_hessian (std::vector< Real > &ahwv, const std::vector< Real > &w, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z)
 
void apply_adjoint_control_hessian (std::vector< Real > &ahwv, const std::vector< Real > &w, const std::vector< Real > &v, const std::vector< Real > &u, const std::vector< Real > &z)
 

Private Member Functions

void update (std::vector< Real > &u, const std::vector< Real > &s, const Real alpha=1.0) const
 
void axpy (std::vector< Real > &out, const Real a, const std::vector< Real > &x, const std::vector< Real > &y) const
 
void scale (std::vector< Real > &u, const Real alpha=0.0) const
 
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) const
 
void update (std::vector< Real > &u, const std::vector< Real > &s, const Real alpha=1.0) const
 
void axpy (std::vector< Real > &out, const Real a, const std::vector< Real > &x, const std::vector< Real > &y) const
 
void scale (std::vector< Real > &u, const Real alpha=0.0) const
 
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) const
 
void update (std::vector< Real > &u, const std::vector< Real > &s, const Real alpha=1.0) const
 
void axpy (std::vector< Real > &out, const Real a, const std::vector< Real > &x, const std::vector< Real > &y) const
 
void scale (std::vector< Real > &u, const Real alpha=0.0) const
 
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) const
 
void update (std::vector< Real > &u, const std::vector< Real > &s, const Real alpha=1.0) const
 
void axpy (std::vector< Real > &out, const Real a, const std::vector< Real > &x, const std::vector< Real > &y) const
 
void scale (std::vector< Real > &u, const Real alpha=0.0) const
 
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) const
 
void update (std::vector< Real > &u, const std::vector< Real > &s, const Real alpha=1.0) const
 
void axpy (std::vector< Real > &out, const Real a, const std::vector< Real > &x, const std::vector< Real > &y) const
 
void scale (std::vector< Real > &u, const Real alpha=0.0) const
 
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) const
 

Private Attributes

int nx_
 
Real dx_
 
Real nu_
 
Real nl_
 
Real u0_
 
Real u1_
 
Real f_
 
Real cH1_
 
Real cL2_
 

Detailed Description

template<class Real>
class BurgersFEM< Real >

Definition at line 69 of file test_04.hpp.

Constructor & Destructor Documentation

template<class Real >
BurgersFEM< Real >::BurgersFEM ( int  nx = 128,
Real  nl = 1.0,
Real  cH1 = 1.0,
Real  cL2 = 1.0 
)
inline
template<class Real >
BurgersFEM< Real >::BurgersFEM ( int  nx = 128,
Real  nu = 1.e-2,
Real  nl = 1.0,
Real  u0 = 1.0,
Real  u1 = 0.0,
Real  f = 0.0,
Real  cH1 = 1.0,
Real  cL2 = 1.0 
)
inline

Definition at line 132 of file example_04.hpp.

template<class Real >
BurgersFEM< Real >::BurgersFEM ( int  nx = 128,
Real  nl = 1.0,
Real  cH1 = 1.0,
Real  cL2 = 1.0 
)
inline

Definition at line 133 of file example_06.hpp.

template<class Real >
BurgersFEM< Real >::BurgersFEM ( int  nx = 128,
Real  nl = 1.0,
Real  cH1 = 1.0,
Real  cL2 = 1.0 
)
inline

Definition at line 133 of file example_07.hpp.

template<class Real >
BurgersFEM< Real >::BurgersFEM ( int  nx = 128,
Real  nl = 1.0,
Real  cH1 = 1.0,
Real  cL2 = 1.0 
)
inline

Definition at line 133 of file example_08.hpp.

Member Function Documentation

template<class Real >
void BurgersFEM< Real >::update ( std::vector< Real > &  u,
const std::vector< Real > &  s,
const Real  alpha = 1.0 
) const
inlineprivate

Definition at line 82 of file test_04.hpp.

template<class Real >
void BurgersFEM< Real >::axpy ( std::vector< Real > &  out,
const Real  a,
const std::vector< Real > &  x,
const std::vector< Real > &  y 
) const
inlineprivate
template<class Real >
void BurgersFEM< Real >::scale ( std::vector< Real > &  u,
const Real  alpha = 0.0 
) const
inlineprivate

Definition at line 94 of file test_04.hpp.

template<class Real >
void BurgersFEM< Real >::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 
) const
inlineprivate
template<class Real >
void BurgersFEM< Real >::set_problem_data ( const Real  nu,
const Real  f,
const Real  u0,
const Real  u1 
)
inline
template<class Real >
int BurgersFEM< Real >::num_dof ( void  ) const
inline

Definition at line 146 of file test_04.hpp.

References BurgersFEM< Real >::nx_.

template<class Real >
Real BurgersFEM< Real >::mesh_spacing ( void  ) const
inline

Definition at line 150 of file test_04.hpp.

References BurgersFEM< Real >::dx_.

template<class Real >
Real BurgersFEM< Real >::compute_L2_dot ( const std::vector< Real > &  x,
const std::vector< Real > &  y 
) const
inline

Definition at line 158 of file test_04.hpp.

References BurgersFEM< Real >::dx_, and BurgersFEM< Real >::nx_.

Referenced by BurgersFEM< Real >::compute_L2_norm().

template<class Real >
Real BurgersFEM< Real >::compute_L2_norm ( const std::vector< Real > &  r) const
inline

Definition at line 176 of file test_04.hpp.

References BurgersFEM< Real >::compute_L2_dot().

Referenced by BurgersFEM< Real >::test_inverse_mass().

template<class Real >
void BurgersFEM< Real >::apply_mass ( std::vector< Real > &  Mu,
const std::vector< Real > &  u 
) const
inline

Definition at line 181 of file test_04.hpp.

References BurgersFEM< Real >::dx_, and BurgersFEM< Real >::nx_.

Referenced by BurgersFEM< Real >::test_inverse_mass().

template<class Real >
void BurgersFEM< Real >::apply_inverse_mass ( std::vector< Real > &  Mu,
const std::vector< Real > &  u 
) const
inline
template<class Real >
void BurgersFEM< Real >::test_inverse_mass ( std::ostream &  outStream = std::cout)
inline
template<class Real >
Real BurgersFEM< Real >::compute_H1_dot ( const std::vector< Real > &  x,
const std::vector< Real > &  y 
) const
inline
template<class Real >
Real BurgersFEM< Real >::compute_H1_norm ( const std::vector< Real > &  r) const
inline

Definition at line 268 of file test_04.hpp.

References BurgersFEM< Real >::compute_H1_dot().

Referenced by BurgersFEM< Real >::test_inverse_H1().

template<class Real >
void BurgersFEM< Real >::apply_H1 ( std::vector< Real > &  Mu,
const std::vector< Real > &  u 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_inverse_H1 ( std::vector< Real > &  Mu,
const std::vector< Real > &  u 
) const
inline
template<class Real >
void BurgersFEM< Real >::test_inverse_H1 ( std::ostream &  outStream = std::cout)
inline
template<class Real >
void BurgersFEM< Real >::compute_residual ( std::vector< Real > &  r,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::compute_pde_jacobian ( std::vector< Real > &  dl,
std::vector< Real > &  d,
std::vector< Real > &  du,
const std::vector< Real > &  u 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_pde_jacobian ( std::vector< Real > &  jv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_inverse_pde_jacobian ( std::vector< Real > &  ijv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_adjoint_pde_jacobian ( std::vector< Real > &  ajv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_inverse_adjoint_pde_jacobian ( std::vector< Real > &  iajv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_control_jacobian ( std::vector< Real > &  jv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline

Definition at line 456 of file test_04.hpp.

References BurgersFEM< Real >::dx_, and BurgersFEM< Real >::nx_.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_control_jacobian ( std::vector< Real > &  jv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline

Definition at line 467 of file test_04.hpp.

References BurgersFEM< Real >::dx_, and BurgersFEM< Real >::nx_.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_pde_hessian ( std::vector< Real > &  ahwv,
const std::vector< Real > &  w,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline

Definition at line 493 of file test_04.hpp.

References BurgersFEM< Real >::nx_.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_pde_control_hessian ( std::vector< Real > &  ahwv,
const std::vector< Real > &  w,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
)
inline

Definition at line 510 of file test_04.hpp.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_control_pde_hessian ( std::vector< Real > &  ahwv,
const std::vector< Real > &  w,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
)
inline

Definition at line 517 of file test_04.hpp.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_control_hessian ( std::vector< Real > &  ahwv,
const std::vector< Real > &  w,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
)
inline

Definition at line 524 of file test_04.hpp.

template<class Real >
void BurgersFEM< Real >::update ( std::vector< Real > &  u,
const std::vector< Real > &  s,
const Real  alpha = 1.0 
) const
inlineprivate

Definition at line 83 of file example_04.hpp.

template<class Real >
void BurgersFEM< Real >::axpy ( std::vector< Real > &  out,
const Real  a,
const std::vector< Real > &  x,
const std::vector< Real > &  y 
) const
inlineprivate

Definition at line 89 of file example_04.hpp.

template<class Real >
void BurgersFEM< Real >::scale ( std::vector< Real > &  u,
const Real  alpha = 0.0 
) const
inlineprivate

Definition at line 95 of file example_04.hpp.

template<class Real >
void BurgersFEM< Real >::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 
) const
inlineprivate

Definition at line 101 of file example_04.hpp.

References dim.

template<class Real >
int BurgersFEM< Real >::num_dof ( void  ) const
inline

Definition at line 139 of file example_04.hpp.

References BurgersFEM< Real >::nx_.

template<class Real >
Real BurgersFEM< Real >::mesh_spacing ( void  ) const
inline

Definition at line 143 of file example_04.hpp.

References BurgersFEM< Real >::dx_.

template<class Real >
Real BurgersFEM< Real >::compute_L2_dot ( const std::vector< Real > &  x,
const std::vector< Real > &  y 
) const
inline

Definition at line 151 of file example_04.hpp.

References BurgersFEM< Real >::dx_, and BurgersFEM< Real >::nx_.

template<class Real >
Real BurgersFEM< Real >::compute_L2_norm ( const std::vector< Real > &  r) const
inline

Definition at line 169 of file example_04.hpp.

References BurgersFEM< Real >::compute_L2_dot().

template<class Real >
void BurgersFEM< Real >::apply_mass ( std::vector< Real > &  Mu,
const std::vector< Real > &  u 
) const
inline

Definition at line 174 of file example_04.hpp.

References BurgersFEM< Real >::dx_, and BurgersFEM< Real >::nx_.

template<class Real >
void BurgersFEM< Real >::apply_inverse_mass ( std::vector< Real > &  Mu,
const std::vector< Real > &  u 
) const
inline
template<class Real >
void BurgersFEM< Real >::test_inverse_mass ( std::ostream &  outStream = std::cout)
inline
template<class Real >
Real BurgersFEM< Real >::compute_H1_dot ( const std::vector< Real > &  x,
const std::vector< Real > &  y 
) const
inline
template<class Real >
Real BurgersFEM< Real >::compute_H1_norm ( const std::vector< Real > &  r) const
inline

Definition at line 261 of file example_04.hpp.

References BurgersFEM< Real >::compute_H1_dot().

template<class Real >
void BurgersFEM< Real >::apply_H1 ( std::vector< Real > &  Mu,
const std::vector< Real > &  u 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_inverse_H1 ( std::vector< Real > &  Mu,
const std::vector< Real > &  u 
) const
inline
template<class Real >
void BurgersFEM< Real >::test_inverse_H1 ( std::ostream &  outStream = std::cout)
inline
template<class Real >
void BurgersFEM< Real >::compute_residual ( std::vector< Real > &  r,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::compute_pde_jacobian ( std::vector< Real > &  dl,
std::vector< Real > &  d,
std::vector< Real > &  du,
const std::vector< Real > &  u 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_pde_jacobian ( std::vector< Real > &  jv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_inverse_pde_jacobian ( std::vector< Real > &  ijv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_adjoint_pde_jacobian ( std::vector< Real > &  ajv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_inverse_adjoint_pde_jacobian ( std::vector< Real > &  iajv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_control_jacobian ( std::vector< Real > &  jv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline

Definition at line 449 of file example_04.hpp.

References BurgersFEM< Real >::dx_, and BurgersFEM< Real >::nx_.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_control_jacobian ( std::vector< Real > &  jv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline

Definition at line 460 of file example_04.hpp.

References BurgersFEM< Real >::dx_, and BurgersFEM< Real >::nx_.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_pde_hessian ( std::vector< Real > &  ahwv,
const std::vector< Real > &  w,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline

Definition at line 486 of file example_04.hpp.

References BurgersFEM< Real >::nx_.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_pde_control_hessian ( std::vector< Real > &  ahwv,
const std::vector< Real > &  w,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
)
inline

Definition at line 503 of file example_04.hpp.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_control_pde_hessian ( std::vector< Real > &  ahwv,
const std::vector< Real > &  w,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
)
inline

Definition at line 510 of file example_04.hpp.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_control_hessian ( std::vector< Real > &  ahwv,
const std::vector< Real > &  w,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
)
inline

Definition at line 517 of file example_04.hpp.

template<class Real >
void BurgersFEM< Real >::update ( std::vector< Real > &  u,
const std::vector< Real > &  s,
const Real  alpha = 1.0 
) const
inlineprivate

Definition at line 84 of file example_06.hpp.

template<class Real >
void BurgersFEM< Real >::axpy ( std::vector< Real > &  out,
const Real  a,
const std::vector< Real > &  x,
const std::vector< Real > &  y 
) const
inlineprivate

Definition at line 90 of file example_06.hpp.

template<class Real >
void BurgersFEM< Real >::scale ( std::vector< Real > &  u,
const Real  alpha = 0.0 
) const
inlineprivate

Definition at line 96 of file example_06.hpp.

template<class Real >
void BurgersFEM< Real >::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 
) const
inlineprivate

Definition at line 102 of file example_06.hpp.

References dim.

template<class Real >
void BurgersFEM< Real >::set_problem_data ( const Real  nu,
const Real  f,
const Real  u0,
const Real  u1 
)
inline
template<class Real >
int BurgersFEM< Real >::num_dof ( void  ) const
inline

Definition at line 143 of file example_06.hpp.

References BurgersFEM< Real >::nx_.

template<class Real >
Real BurgersFEM< Real >::mesh_spacing ( void  ) const
inline

Definition at line 147 of file example_06.hpp.

References BurgersFEM< Real >::dx_.

template<class Real >
Real BurgersFEM< Real >::compute_L2_dot ( const std::vector< Real > &  x,
const std::vector< Real > &  y 
) const
inline

Definition at line 155 of file example_06.hpp.

References BurgersFEM< Real >::dx_, and BurgersFEM< Real >::nx_.

template<class Real >
Real BurgersFEM< Real >::compute_L2_norm ( const std::vector< Real > &  r) const
inline

Definition at line 173 of file example_06.hpp.

References BurgersFEM< Real >::compute_L2_dot().

template<class Real >
void BurgersFEM< Real >::apply_mass ( std::vector< Real > &  Mu,
const std::vector< Real > &  u 
) const
inline

Definition at line 178 of file example_06.hpp.

References BurgersFEM< Real >::dx_, and BurgersFEM< Real >::nx_.

template<class Real >
void BurgersFEM< Real >::apply_inverse_mass ( std::vector< Real > &  Mu,
const std::vector< Real > &  u 
) const
inline
template<class Real >
void BurgersFEM< Real >::test_inverse_mass ( std::ostream &  outStream = std::cout)
inline
template<class Real >
Real BurgersFEM< Real >::compute_H1_dot ( const std::vector< Real > &  x,
const std::vector< Real > &  y 
) const
inline
template<class Real >
Real BurgersFEM< Real >::compute_H1_norm ( const std::vector< Real > &  r) const
inline

Definition at line 265 of file example_06.hpp.

References BurgersFEM< Real >::compute_H1_dot().

template<class Real >
void BurgersFEM< Real >::apply_H1 ( std::vector< Real > &  Mu,
const std::vector< Real > &  u 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_inverse_H1 ( std::vector< Real > &  Mu,
const std::vector< Real > &  u 
) const
inline
template<class Real >
void BurgersFEM< Real >::test_inverse_H1 ( std::ostream &  outStream = std::cout)
inline
template<class Real >
void BurgersFEM< Real >::compute_residual ( std::vector< Real > &  r,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::compute_pde_jacobian ( std::vector< Real > &  dl,
std::vector< Real > &  d,
std::vector< Real > &  du,
const std::vector< Real > &  u 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_pde_jacobian ( std::vector< Real > &  jv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_inverse_pde_jacobian ( std::vector< Real > &  ijv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_adjoint_pde_jacobian ( std::vector< Real > &  ajv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_inverse_adjoint_pde_jacobian ( std::vector< Real > &  iajv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_control_jacobian ( std::vector< Real > &  jv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline

Definition at line 453 of file example_06.hpp.

References BurgersFEM< Real >::dx_, and BurgersFEM< Real >::nx_.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_control_jacobian ( std::vector< Real > &  jv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline

Definition at line 464 of file example_06.hpp.

References BurgersFEM< Real >::dx_, and BurgersFEM< Real >::nx_.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_pde_hessian ( std::vector< Real > &  ahwv,
const std::vector< Real > &  w,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline

Definition at line 490 of file example_06.hpp.

References BurgersFEM< Real >::nx_.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_pde_control_hessian ( std::vector< Real > &  ahwv,
const std::vector< Real > &  w,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
)
inline

Definition at line 507 of file example_06.hpp.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_control_pde_hessian ( std::vector< Real > &  ahwv,
const std::vector< Real > &  w,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
)
inline

Definition at line 514 of file example_06.hpp.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_control_hessian ( std::vector< Real > &  ahwv,
const std::vector< Real > &  w,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
)
inline

Definition at line 521 of file example_06.hpp.

template<class Real >
void BurgersFEM< Real >::update ( std::vector< Real > &  u,
const std::vector< Real > &  s,
const Real  alpha = 1.0 
) const
inlineprivate

Definition at line 84 of file example_07.hpp.

template<class Real >
void BurgersFEM< Real >::axpy ( std::vector< Real > &  out,
const Real  a,
const std::vector< Real > &  x,
const std::vector< Real > &  y 
) const
inlineprivate

Definition at line 90 of file example_07.hpp.

template<class Real >
void BurgersFEM< Real >::scale ( std::vector< Real > &  u,
const Real  alpha = 0.0 
) const
inlineprivate

Definition at line 96 of file example_07.hpp.

template<class Real >
void BurgersFEM< Real >::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 
) const
inlineprivate

Definition at line 102 of file example_07.hpp.

References dim.

template<class Real >
void BurgersFEM< Real >::set_problem_data ( const Real  nu,
const Real  f,
const Real  u0,
const Real  u1 
)
inline
template<class Real >
Real BurgersFEM< Real >::get_viscosity ( void  ) const
inline

Definition at line 143 of file example_07.hpp.

References BurgersFEM< Real >::nu_.

template<class Real >
int BurgersFEM< Real >::num_dof ( void  ) const
inline

Definition at line 147 of file example_07.hpp.

References BurgersFEM< Real >::nx_.

template<class Real >
Real BurgersFEM< Real >::mesh_spacing ( void  ) const
inline

Definition at line 151 of file example_07.hpp.

References BurgersFEM< Real >::dx_.

template<class Real >
Real BurgersFEM< Real >::compute_L2_dot ( const std::vector< Real > &  x,
const std::vector< Real > &  y 
) const
inline

Definition at line 159 of file example_07.hpp.

References BurgersFEM< Real >::dx_, and BurgersFEM< Real >::nx_.

template<class Real >
Real BurgersFEM< Real >::compute_L2_norm ( const std::vector< Real > &  r) const
inline

Definition at line 177 of file example_07.hpp.

References BurgersFEM< Real >::compute_L2_dot().

template<class Real >
void BurgersFEM< Real >::apply_mass ( std::vector< Real > &  Mu,
const std::vector< Real > &  u 
) const
inline

Definition at line 182 of file example_07.hpp.

References BurgersFEM< Real >::dx_, and BurgersFEM< Real >::nx_.

template<class Real >
void BurgersFEM< Real >::apply_inverse_mass ( std::vector< Real > &  Mu,
const std::vector< Real > &  u 
) const
inline
template<class Real >
void BurgersFEM< Real >::test_inverse_mass ( std::ostream &  outStream = std::cout)
inline
template<class Real >
Real BurgersFEM< Real >::compute_H1_dot ( const std::vector< Real > &  x,
const std::vector< Real > &  y 
) const
inline
template<class Real >
Real BurgersFEM< Real >::compute_H1_norm ( const std::vector< Real > &  r) const
inline

Definition at line 269 of file example_07.hpp.

References BurgersFEM< Real >::compute_H1_dot().

template<class Real >
void BurgersFEM< Real >::apply_H1 ( std::vector< Real > &  Mu,
const std::vector< Real > &  u 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_inverse_H1 ( std::vector< Real > &  Mu,
const std::vector< Real > &  u 
) const
inline
template<class Real >
void BurgersFEM< Real >::test_inverse_H1 ( std::ostream &  outStream = std::cout)
inline
template<class Real >
void BurgersFEM< Real >::compute_residual ( std::vector< Real > &  r,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::compute_pde_jacobian ( std::vector< Real > &  dl,
std::vector< Real > &  d,
std::vector< Real > &  du,
const std::vector< Real > &  u 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_pde_jacobian ( std::vector< Real > &  jv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_inverse_pde_jacobian ( std::vector< Real > &  ijv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_adjoint_pde_jacobian ( std::vector< Real > &  ajv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_inverse_adjoint_pde_jacobian ( std::vector< Real > &  iajv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_control_jacobian ( std::vector< Real > &  jv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline

Definition at line 457 of file example_07.hpp.

References BurgersFEM< Real >::dx_, and BurgersFEM< Real >::nx_.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_control_jacobian ( std::vector< Real > &  jv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline

Definition at line 468 of file example_07.hpp.

References BurgersFEM< Real >::dx_, and BurgersFEM< Real >::nx_.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_pde_hessian ( std::vector< Real > &  ahwv,
const std::vector< Real > &  w,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline

Definition at line 494 of file example_07.hpp.

References BurgersFEM< Real >::nx_.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_pde_control_hessian ( std::vector< Real > &  ahwv,
const std::vector< Real > &  w,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
)
inline

Definition at line 511 of file example_07.hpp.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_control_pde_hessian ( std::vector< Real > &  ahwv,
const std::vector< Real > &  w,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
)
inline

Definition at line 518 of file example_07.hpp.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_control_hessian ( std::vector< Real > &  ahwv,
const std::vector< Real > &  w,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
)
inline

Definition at line 525 of file example_07.hpp.

template<class Real >
void BurgersFEM< Real >::update ( std::vector< Real > &  u,
const std::vector< Real > &  s,
const Real  alpha = 1.0 
) const
inlineprivate

Definition at line 84 of file example_08.hpp.

template<class Real >
void BurgersFEM< Real >::axpy ( std::vector< Real > &  out,
const Real  a,
const std::vector< Real > &  x,
const std::vector< Real > &  y 
) const
inlineprivate

Definition at line 90 of file example_08.hpp.

template<class Real >
void BurgersFEM< Real >::scale ( std::vector< Real > &  u,
const Real  alpha = 0.0 
) const
inlineprivate

Definition at line 96 of file example_08.hpp.

template<class Real >
void BurgersFEM< Real >::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 
) const
inlineprivate

Definition at line 102 of file example_08.hpp.

References dim.

template<class Real >
void BurgersFEM< Real >::set_problem_data ( const Real  nu,
const Real  f,
const Real  u0,
const Real  u1 
)
inline
template<class Real >
int BurgersFEM< Real >::num_dof ( void  ) const
inline

Definition at line 143 of file example_08.hpp.

References BurgersFEM< Real >::nx_.

template<class Real >
Real BurgersFEM< Real >::mesh_spacing ( void  ) const
inline

Definition at line 147 of file example_08.hpp.

References BurgersFEM< Real >::dx_.

template<class Real >
Real BurgersFEM< Real >::compute_L2_dot ( const std::vector< Real > &  x,
const std::vector< Real > &  y 
) const
inline

Definition at line 155 of file example_08.hpp.

References BurgersFEM< Real >::dx_, and BurgersFEM< Real >::nx_.

template<class Real >
Real BurgersFEM< Real >::compute_L2_norm ( const std::vector< Real > &  r) const
inline

Definition at line 173 of file example_08.hpp.

References BurgersFEM< Real >::compute_L2_dot().

template<class Real >
void BurgersFEM< Real >::apply_mass ( std::vector< Real > &  Mu,
const std::vector< Real > &  u 
) const
inline

Definition at line 178 of file example_08.hpp.

References BurgersFEM< Real >::dx_, and BurgersFEM< Real >::nx_.

template<class Real >
void BurgersFEM< Real >::apply_inverse_mass ( std::vector< Real > &  Mu,
const std::vector< Real > &  u 
) const
inline
template<class Real >
void BurgersFEM< Real >::test_inverse_mass ( std::ostream &  outStream = std::cout)
inline
template<class Real >
Real BurgersFEM< Real >::compute_H1_dot ( const std::vector< Real > &  x,
const std::vector< Real > &  y 
) const
inline
template<class Real >
Real BurgersFEM< Real >::compute_H1_norm ( const std::vector< Real > &  r) const
inline

Definition at line 265 of file example_08.hpp.

References BurgersFEM< Real >::compute_H1_dot().

template<class Real >
void BurgersFEM< Real >::apply_H1 ( std::vector< Real > &  Mu,
const std::vector< Real > &  u 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_inverse_H1 ( std::vector< Real > &  Mu,
const std::vector< Real > &  u 
) const
inline
template<class Real >
void BurgersFEM< Real >::test_inverse_H1 ( std::ostream &  outStream = std::cout)
inline
template<class Real >
void BurgersFEM< Real >::compute_residual ( std::vector< Real > &  r,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::compute_pde_jacobian ( std::vector< Real > &  dl,
std::vector< Real > &  d,
std::vector< Real > &  du,
const std::vector< Real > &  u 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_pde_jacobian ( std::vector< Real > &  jv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_inverse_pde_jacobian ( std::vector< Real > &  ijv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_adjoint_pde_jacobian ( std::vector< Real > &  ajv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_inverse_adjoint_pde_jacobian ( std::vector< Real > &  iajv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline
template<class Real >
void BurgersFEM< Real >::apply_control_jacobian ( std::vector< Real > &  jv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline

Definition at line 453 of file example_08.hpp.

References BurgersFEM< Real >::dx_, and BurgersFEM< Real >::nx_.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_control_jacobian ( std::vector< Real > &  jv,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline

Definition at line 464 of file example_08.hpp.

References BurgersFEM< Real >::dx_, and BurgersFEM< Real >::nx_.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_pde_hessian ( std::vector< Real > &  ahwv,
const std::vector< Real > &  w,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
) const
inline

Definition at line 490 of file example_08.hpp.

References BurgersFEM< Real >::nx_.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_pde_control_hessian ( std::vector< Real > &  ahwv,
const std::vector< Real > &  w,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
)
inline

Definition at line 507 of file example_08.hpp.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_control_pde_hessian ( std::vector< Real > &  ahwv,
const std::vector< Real > &  w,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
)
inline

Definition at line 514 of file example_08.hpp.

template<class Real >
void BurgersFEM< Real >::apply_adjoint_control_hessian ( std::vector< Real > &  ahwv,
const std::vector< Real > &  w,
const std::vector< Real > &  v,
const std::vector< Real > &  u,
const std::vector< Real > &  z 
)
inline

Definition at line 521 of file example_08.hpp.

Member Data Documentation

template<class Real >
int BurgersFEM< Real >::nx_
private
template<class Real >
Real BurgersFEM< Real >::dx_
private
template<class Real >
Real BurgersFEM< Real >::nu_
private
template<class Real >
Real BurgersFEM< Real >::nl_
private
template<class Real >
Real BurgersFEM< Real >::u0_
private
template<class Real >
Real BurgersFEM< Real >::u1_
private
template<class Real >
Real BurgersFEM< Real >::f_
private
template<class Real >
Real BurgersFEM< Real >::cH1_
private
template<class Real >
Real BurgersFEM< Real >::cL2_
private

The documentation for this class was generated from the following files: