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

#include <test_04.hpp>

Public Member Functions

 L2VectorPrimal (const ROL::Ptr< std::vector< Real > > &vec, const ROL::Ptr< BurgersFEM< Real > > &fem)
 
void set (const ROL::Vector< Real > &x)
 
void plus (const ROL::Vector< Real > &x)
 
void scale (const Real alpha)
 
Real dot (const ROL::Vector< Real > &x) const
 
Real norm () const
 
ROL::Ptr< ROL::Vector< Real > > clone () const
 
ROL::Ptr< const std::vector< Real > > getVector () const
 
ROL::Ptr< std::vector< Real > > getVector ()
 
ROL::Ptr< ROL::Vector< Real > > basis (const int i) const
 
int dimension () const
 
const ROL::Vector< Real > & dual () const
 
 L2VectorPrimal (const ROL::Ptr< std::vector< Real > > &vec, const ROL::Ptr< BurgersFEM< Real > > &fem)
 
void set (const ROL::Vector< Real > &x)
 
void plus (const ROL::Vector< Real > &x)
 
void scale (const Real alpha)
 
Real dot (const ROL::Vector< Real > &x) const
 
Real norm () const
 
ROL::Ptr< ROL::Vector< Real > > clone () const
 
ROL::Ptr< const std::vector< Real > > getVector () const
 
ROL::Ptr< std::vector< Real > > getVector ()
 
ROL::Ptr< ROL::Vector< Real > > basis (const int i) const
 
int dimension () const
 
const ROL::Vector< Real > & dual () const
 
 L2VectorPrimal (const ROL::Ptr< std::vector< Real > > &vec, const ROL::Ptr< BurgersFEM< Real > > &fem)
 
void set (const ROL::Vector< Real > &x)
 
void plus (const ROL::Vector< Real > &x)
 
void scale (const Real alpha)
 
Real dot (const ROL::Vector< Real > &x) const
 
Real norm () const
 
ROL::Ptr< ROL::Vector< Real > > clone () const
 
ROL::Ptr< const std::vector< Real > > getVector () const
 
ROL::Ptr< std::vector< Real > > getVector ()
 
ROL::Ptr< ROL::Vector< Real > > basis (const int i) const
 
int dimension () const
 
const ROL::Vector< Real > & dual () const
 
 L2VectorPrimal (const ROL::Ptr< std::vector< Real > > &vec, const ROL::Ptr< BurgersFEM< Real > > &fem)
 
void set (const ROL::Vector< Real > &x)
 
void plus (const ROL::Vector< Real > &x)
 
void scale (const Real alpha)
 
Real dot (const ROL::Vector< Real > &x) const
 
Real norm () const
 
ROL::Ptr< ROL::Vector< Real > > clone () const
 
ROL::Ptr< const std::vector< Real > > getVector () const
 
ROL::Ptr< std::vector< Real > > getVector ()
 
ROL::Ptr< ROL::Vector< Real > > basis (const int i) const
 
int dimension () const
 
const ROL::Vector< Real > & dual () const
 
 L2VectorPrimal (const ROL::Ptr< std::vector< Real > > &vec, const ROL::Ptr< BurgersFEM< Real > > &fem)
 
Real dot (const ROL::Vector< Real > &x) const
 
ROL::Ptr< ROL::Vector< Real > > clone () const
 
const ROL::Vector< Real > & dual () const
 

Private Attributes

ROL::Ptr< std::vector< Real > > vec_
 
ROL::Ptr< BurgersFEM< Real > > fem_
 
ROL::Ptr< L2VectorDual< Real > > dual_vec_
 
bool isDualInitialized_
 

Detailed Description

template<class Real>
class L2VectorPrimal< Real >

Definition at line 531 of file example_08.hpp.

Constructor & Destructor Documentation

◆ L2VectorPrimal() [1/5]

template<class Real >
L2VectorPrimal< Real >::L2VectorPrimal ( const ROL::Ptr< std::vector< Real > > &  vec,
const ROL::Ptr< BurgersFEM< Real > > &  fem 
)
inline

Definition at line 542 of file test_04.hpp.

◆ L2VectorPrimal() [2/5]

template<class Real >
L2VectorPrimal< Real >::L2VectorPrimal ( const ROL::Ptr< std::vector< Real > > &  vec,
const ROL::Ptr< BurgersFEM< Real > > &  fem 
)
inline

Definition at line 535 of file example_04.hpp.

◆ L2VectorPrimal() [3/5]

template<class Real >
L2VectorPrimal< Real >::L2VectorPrimal ( const ROL::Ptr< std::vector< Real > > &  vec,
const ROL::Ptr< BurgersFEM< Real > > &  fem 
)
inline

Definition at line 539 of file example_06.hpp.

◆ L2VectorPrimal() [4/5]

template<class Real >
L2VectorPrimal< Real >::L2VectorPrimal ( const ROL::Ptr< std::vector< Real > > &  vec,
const ROL::Ptr< BurgersFEM< Real > > &  fem 
)
inline

Definition at line 543 of file example_07.hpp.

◆ L2VectorPrimal() [5/5]

template<class Real >
L2VectorPrimal< Real >::L2VectorPrimal ( const ROL::Ptr< std::vector< Real > > &  vec,
const ROL::Ptr< BurgersFEM< Real > > &  fem 
)
inline

Definition at line 538 of file example_08.hpp.

Member Function Documentation

◆ set() [1/4]

template<class Real >
void L2VectorPrimal< Real >::set ( const ROL::Vector< Real > &  x)
inline

◆ plus() [1/4]

template<class Real >
void L2VectorPrimal< Real >::plus ( const ROL::Vector< Real > &  x)
inline

◆ scale() [1/4]

template<class Real >
void L2VectorPrimal< Real >::scale ( const Real  alpha)
inline

◆ dot() [1/5]

template<class Real >
Real L2VectorPrimal< Real >::dot ( const ROL::Vector< Real > &  x) const
inline

◆ norm() [1/4]

template<class Real >
Real L2VectorPrimal< Real >::norm ( void  ) const
inline

Definition at line 574 of file test_04.hpp.

References L2VectorPrimal< Real >::dot().

◆ clone() [1/5]

template<class Real >
ROL::Ptr<ROL::Vector<Real> > L2VectorPrimal< Real >::clone ( void  ) const
inline

Definition at line 580 of file test_04.hpp.

References L2VectorPrimal< Real >::fem_, and L2VectorPrimal< Real >::vec_.

◆ getVector() [1/8]

template<class Real >
ROL::Ptr<const std::vector<Real> > L2VectorPrimal< Real >::getVector ( void  ) const
inline

◆ getVector() [2/8]

template<class Real >
ROL::Ptr<std::vector<Real> > L2VectorPrimal< Real >::getVector ( void  )
inline

Definition at line 588 of file test_04.hpp.

References L2VectorPrimal< Real >::vec_.

◆ basis() [1/4]

template<class Real >
ROL::Ptr<ROL::Vector<Real> > L2VectorPrimal< Real >::basis ( const int  i) const
inline

Definition at line 592 of file test_04.hpp.

References L2VectorPrimal< Real >::fem_, and L2VectorPrimal< Real >::vec_.

◆ dimension() [1/4]

template<class Real >
int L2VectorPrimal< Real >::dimension ( void  ) const
inline

◆ dual() [1/5]

template<class Real >
const ROL::Vector<Real>& L2VectorPrimal< Real >::dual ( void  ) const
inline

◆ set() [2/4]

template<class Real >
void L2VectorPrimal< Real >::set ( const ROL::Vector< Real > &  x)
inline

◆ plus() [2/4]

template<class Real >
void L2VectorPrimal< Real >::plus ( const ROL::Vector< Real > &  x)
inline

◆ scale() [2/4]

template<class Real >
void L2VectorPrimal< Real >::scale ( const Real  alpha)
inline

◆ dot() [2/5]

template<class Real >
Real L2VectorPrimal< Real >::dot ( const ROL::Vector< Real > &  x) const
inline

◆ norm() [2/4]

template<class Real >
Real L2VectorPrimal< Real >::norm ( void  ) const
inline

Definition at line 567 of file example_04.hpp.

References L2VectorPrimal< Real >::dot().

◆ clone() [2/5]

template<class Real >
ROL::Ptr<ROL::Vector<Real> > L2VectorPrimal< Real >::clone ( void  ) const
inline

Definition at line 573 of file example_04.hpp.

References L2VectorPrimal< Real >::fem_, and L2VectorPrimal< Real >::vec_.

◆ getVector() [3/8]

template<class Real >
ROL::Ptr<const std::vector<Real> > L2VectorPrimal< Real >::getVector ( void  ) const
inline

Definition at line 577 of file example_04.hpp.

References L2VectorPrimal< Real >::vec_.

◆ getVector() [4/8]

template<class Real >
ROL::Ptr<std::vector<Real> > L2VectorPrimal< Real >::getVector ( void  )
inline

Definition at line 581 of file example_04.hpp.

References L2VectorPrimal< Real >::vec_.

◆ basis() [2/4]

template<class Real >
ROL::Ptr<ROL::Vector<Real> > L2VectorPrimal< Real >::basis ( const int  i) const
inline

Definition at line 585 of file example_04.hpp.

References L2VectorPrimal< Real >::fem_, and L2VectorPrimal< Real >::vec_.

◆ dimension() [2/4]

template<class Real >
int L2VectorPrimal< Real >::dimension ( void  ) const
inline

Definition at line 592 of file example_04.hpp.

References L2VectorPrimal< Real >::vec_.

◆ dual() [2/5]

template<class Real >
const ROL::Vector<Real>& L2VectorPrimal< Real >::dual ( void  ) const
inline

◆ set() [3/4]

template<class Real >
void L2VectorPrimal< Real >::set ( const ROL::Vector< Real > &  x)
inline

◆ plus() [3/4]

template<class Real >
void L2VectorPrimal< Real >::plus ( const ROL::Vector< Real > &  x)
inline

◆ scale() [3/4]

template<class Real >
void L2VectorPrimal< Real >::scale ( const Real  alpha)
inline

◆ dot() [3/5]

template<class Real >
Real L2VectorPrimal< Real >::dot ( const ROL::Vector< Real > &  x) const
inline

◆ norm() [3/4]

template<class Real >
Real L2VectorPrimal< Real >::norm ( void  ) const
inline

Definition at line 571 of file example_06.hpp.

References L2VectorPrimal< Real >::dot().

◆ clone() [3/5]

template<class Real >
ROL::Ptr<ROL::Vector<Real> > L2VectorPrimal< Real >::clone ( void  ) const
inline

Definition at line 577 of file example_06.hpp.

References L2VectorPrimal< Real >::fem_, and L2VectorPrimal< Real >::vec_.

◆ getVector() [5/8]

template<class Real >
ROL::Ptr<const std::vector<Real> > L2VectorPrimal< Real >::getVector ( void  ) const
inline

Definition at line 581 of file example_06.hpp.

References L2VectorPrimal< Real >::vec_.

◆ getVector() [6/8]

template<class Real >
ROL::Ptr<std::vector<Real> > L2VectorPrimal< Real >::getVector ( void  )
inline

Definition at line 585 of file example_06.hpp.

References L2VectorPrimal< Real >::vec_.

◆ basis() [3/4]

template<class Real >
ROL::Ptr<ROL::Vector<Real> > L2VectorPrimal< Real >::basis ( const int  i) const
inline

Definition at line 589 of file example_06.hpp.

References L2VectorPrimal< Real >::fem_, and L2VectorPrimal< Real >::vec_.

◆ dimension() [3/4]

template<class Real >
int L2VectorPrimal< Real >::dimension ( void  ) const
inline

Definition at line 596 of file example_06.hpp.

References L2VectorPrimal< Real >::vec_.

◆ dual() [3/5]

template<class Real >
const ROL::Vector<Real>& L2VectorPrimal< Real >::dual ( void  ) const
inline

◆ set() [4/4]

template<class Real >
void L2VectorPrimal< Real >::set ( const ROL::Vector< Real > &  x)
inline

◆ plus() [4/4]

template<class Real >
void L2VectorPrimal< Real >::plus ( const ROL::Vector< Real > &  x)
inline

◆ scale() [4/4]

template<class Real >
void L2VectorPrimal< Real >::scale ( const Real  alpha)
inline

◆ dot() [4/5]

template<class Real >
Real L2VectorPrimal< Real >::dot ( const ROL::Vector< Real > &  x) const
inline

◆ norm() [4/4]

template<class Real >
Real L2VectorPrimal< Real >::norm ( void  ) const
inline

Definition at line 575 of file example_07.hpp.

References L2VectorPrimal< Real >::dot().

◆ clone() [4/5]

template<class Real >
ROL::Ptr<ROL::Vector<Real> > L2VectorPrimal< Real >::clone ( void  ) const
inline

Definition at line 581 of file example_07.hpp.

References L2VectorPrimal< Real >::fem_, and L2VectorPrimal< Real >::vec_.

◆ getVector() [7/8]

template<class Real >
ROL::Ptr<const std::vector<Real> > L2VectorPrimal< Real >::getVector ( void  ) const
inline

Definition at line 585 of file example_07.hpp.

References L2VectorPrimal< Real >::vec_.

◆ getVector() [8/8]

template<class Real >
ROL::Ptr<std::vector<Real> > L2VectorPrimal< Real >::getVector ( void  )
inline

Definition at line 589 of file example_07.hpp.

References L2VectorPrimal< Real >::vec_.

◆ basis() [4/4]

template<class Real >
ROL::Ptr<ROL::Vector<Real> > L2VectorPrimal< Real >::basis ( const int  i) const
inline

Definition at line 593 of file example_07.hpp.

References L2VectorPrimal< Real >::fem_, and L2VectorPrimal< Real >::vec_.

◆ dimension() [4/4]

template<class Real >
int L2VectorPrimal< Real >::dimension ( void  ) const
inline

Definition at line 600 of file example_07.hpp.

References L2VectorPrimal< Real >::vec_.

◆ dual() [4/5]

template<class Real >
const ROL::Vector<Real>& L2VectorPrimal< Real >::dual ( void  ) const
inline

◆ dot() [5/5]

template<class Real >
Real L2VectorPrimal< Real >::dot ( const ROL::Vector< Real > &  x) const
inline

◆ clone() [5/5]

template<class Real >
ROL::Ptr<ROL::Vector<Real> > L2VectorPrimal< Real >::clone ( void  ) const
inline

Definition at line 550 of file example_08.hpp.

References L2VectorPrimal< Real >::fem_.

◆ dual() [5/5]

template<class Real >
const ROL::Vector<Real>& L2VectorPrimal< Real >::dual ( void  ) const
inline

Member Data Documentation

◆ vec_

template<class Real >
ROL::Ptr< std::vector< Real > > L2VectorPrimal< Real >::vec_
private

◆ fem_

template<class Real >
ROL::Ptr< BurgersFEM< Real > > L2VectorPrimal< Real >::fem_
private

◆ dual_vec_

template<class Real >
ROL::Ptr< L2VectorDual< Real > > L2VectorPrimal< Real >::dual_vec_
mutableprivate

Definition at line 539 of file test_04.hpp.

Referenced by L2VectorPrimal< Real >::dual().

◆ isDualInitialized_

template<class Real >
bool L2VectorPrimal< Real >::isDualInitialized_
mutableprivate

Definition at line 535 of file example_08.hpp.

Referenced by L2VectorPrimal< Real >::dual().


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