#include <FiniteDifference.hpp>
|
| | FiniteDifference (int n, double dx) |
| |
| void | solve (ROL::Ptr< const std::vector< Real > > fp, ROL::Ptr< std::vector< Real > > up) |
| | Given f, compute -u''=f. More...
|
| |
| void | solve (ROL::Ptr< std::vector< Real > > up) |
| | Same as above but with overwrite in place. More...
|
| |
| void | apply (ROL::Ptr< const std::vector< Real > > up, ROL::Ptr< std::vector< Real > > fp) |
| | Given u, compute f = -u''. More...
|
| |
| void | apply (ROL::Ptr< std::vector< Real > > fp) |
| | Same as above but with overwrite in place. More...
|
| |
|
| int | n_ |
| |
| double | dx2_ |
| |
| Teuchos::LAPACK< int, Real > | lapack_ |
| |
| std::vector< Real > | dl_ |
| |
| std::vector< Real > | d_ |
| |
| std::vector< Real > | du_ |
| |
| std::vector< Real > | du2_ |
| |
| std::vector< int > | ipiv_ |
| |
| int | info_ |
| |
template<class Real>
class FiniteDifference< Real >
Definition at line 7 of file FiniteDifference.hpp.
◆ FiniteDifference()
◆ solve() [1/2]
template<class Real >
| void FiniteDifference< Real >::solve |
( |
ROL::Ptr< const std::vector< Real > > |
fp, |
|
|
ROL::Ptr< std::vector< Real > > |
up |
|
) |
| |
|
inline |
◆ solve() [2/2]
◆ apply() [1/2]
template<class Real >
| void FiniteDifference< Real >::apply |
( |
ROL::Ptr< const std::vector< Real > > |
up, |
|
|
ROL::Ptr< std::vector< Real > > |
fp |
|
) |
| |
|
inline |
◆ apply() [2/2]
◆ n_
◆ dx2_
◆ lapack_
◆ dl_
◆ d_
◆ du_
◆ du2_
◆ ipiv_
◆ info_
The documentation for this class was generated from the following file: