Feel++
0.92.0
|
Public Types | |
Typedefs | |
typedef T | value_type |
typedef Eigen::Matrix< double, Dynamic, Dynamic > | matrix_type |
typedef Eigen::Matrix< double, Dynamic, 1 > | vector_type |
Public Member Functions | |
EIMBase (std::string const &__name, double __tol=1e-8) | |
EIMBase (EIMBase const &__bbf) | |
Accessors | |
size_t | nbDOF () const |
matrix_type const & | q () const |
Eigen::ColXpr | qm (size_t __m) const |
value_type | qxm (size_t __i, size_t __m) const |
size_t | Mmax () const |
Protected Attributes | |
bool | _M_is_read |
bool | _M_is_written |
std::string | _M_name |
size_t | _M_M |
size_t | _M_M_max |
bool | _M_offline_done |
double | _M_tol |
matrix_type | _M_q |
matrix_type | _M_B |
std::vector< coord_type > | _M_t |
std::vector< size_t > | _M_index_max |
Methods | |
class | boost::serialization::access |
void | orthonormalize (matrix_type &) |
template<class Archive > | |
void | serialize (Archive &__ar, const unsigned int __version) |
virtual void | offline () |
bool | isOfflineDone () const |
virtual void | beta (vector_type &__beta, size_t M) const |
Online stage of the coefficient-function interpolation. | |
virtual void | beta (vector_type &__beta, value_type &__err, size_t M) const |
void | blackbox_q (vector_type &__g, int __m) |
void | blackbox (vector_type &__g) |
virtual void Feel::EIMBase< T >::beta | ( | vector_type & | __beta, |
size_t | M | ||
) | const [inline, virtual] |
Online stage of the coefficient-function interpolation.
Our coefficient function approximation is the interpolant of over
:
, where
,
. We define
.
Note that is given and $D^$ is handled by the
parameterset_type
data structure.
Reimplemented in Feel::EIM< T, Dmu, F >.
Referenced by Feel::EIMBase< T >::blackbox().
void Feel::EIMBase< T >::blackbox | ( | vector_type & | __g | ) | [inline] |
Given the in parameter space, compute
References Feel::EIMBase< T >::beta().
void Feel::EIMBase< T >::blackbox_q | ( | vector_type & | __g, |
int | __m | ||
) | [inline] |
Given the in parameter space, compute
bool Feel::EIMBase< T >::isOfflineDone | ( | ) | const [inline] |
Check whether the offline stage has been executed and the database created.
true
if the offline has been executed and the DB saved, false
otherwise size_t Feel::EIMBase< T >::nbDOF | ( | ) | const [inline] |
virtual void Feel::EIMBase< T >::offline | ( | ) | [inline, virtual] |
offline stage
void Feel::EIMBase< T >::orthonormalize | ( | matrix_type & | __Z | ) |
orthonormalize