Public Types | |
typedef boost::shared_ptr < backend_type > | backend_ptrtype |
linear algebra backend factory shared_ptr<> type | |
typedef Backend< value_type > | backend_type |
linear algebra backend factory | |
typedef bases< Lagrange < PolynomialOrder, Scalar > > | basis_type |
the basis type of our approximation space | |
typedef Simplex< 2 > | convex_type |
geometry entities type composing the mesh, here Simplex in Dimension 2 of Order 1 | |
typedef space_type::element_type | element_type |
typedef boost::shared_ptr < export_type > | export_ptrtype |
the exporter factory (shared_ptr<> type) | |
typedef Exporter< mesh_type > | export_type |
the exporter factory type | |
typedef boost::shared_ptr < mesh_type > | mesh_ptrtype |
mesh shared_ptr<> type | |
typedef Mesh< convex_type > | mesh_type |
mesh type | |
typedef boost::shared_ptr < space_type > | space_ptrtype |
the approximation function space type (shared_ptr<> type) | |
typedef FunctionSpace < mesh_type, basis_type > | space_type |
the approximation function space type | |
typedef backend_type::sparse_matrix_ptrtype | sparse_matrix_ptrtype |
sparse matrix type associated with backend (shared_ptr<> type) | |
typedef backend_type::sparse_matrix_type | sparse_matrix_type |
sparse matrix type associated with backend | |
typedef double | value_type |
numerical type is double | |
typedef std::vector< element_type > | vector_of_element_type |
typedef backend_type::vector_ptrtype | vector_ptrtype |
vector type associated with backend (shared_ptr<> type) | |
typedef backend_type::vector_type | vector_type |
vector type associated with backend | |
Public Member Functions | |
element_type | blackbox (space_ptrtype Xh, double param) |
Eigen::MatrixXd | BuildBetaH (space_ptrtype XhFine, space_ptrtype XhCoarse, vector_of_element_type &M_VNirbBasis) |
Eigen::MatrixXd | BuildBetah (space_ptrtype XhFine, vector_of_element_type &M_VNirbBasis) |
element_type | BuildCoarseInterpolation (space_ptrtype XhFine, space_ptrtype XhCoarse, double param) |
element_type | BuildNirbSolution (space_ptrtype XhFine, space_ptrtype XhCoarse, vector_of_element_type const &M_VNirbBasis, vector_of_element_type const &VNirbBasis, double param, Eigen::VectorXd BetaiH) |
element_type | BuildNirbSolutionWithoutPostProcess (space_ptrtype XhFine, element_type uCoarseInterpolate, vector_of_element_type const &M_VNirbBasis, vector_of_element_type const &VNirbBasis, Eigen::VectorXd &BetaiH) |
element_type | BuildNirbSolutionWithPostProcess (space_ptrtype XhFine, space_ptrtype XhCoarse, vector_of_element_type &M_VNirbBasis, vector_of_element_type &VNirbBasis, Eigen::VectorXd &BetaiuH, element_type &uCoarseInterpolate) |
Eigen::MatrixXd | BuildPostProcessMatrix (space_ptrtype XhFine, space_ptrtype XhCoarse, vector_of_element_type &M_VNirbBasis) |
void | ChooseRBFunction (space_ptrtype Xh, vector_of_element_type &VuBasis, sparse_matrix_ptrtype const &MassMatrix, sparse_matrix_ptrtype const &StiffMatrix) |
void | ComputeSnapshot (space_ptrtype Xh, std::string filename) |
Eigen::MatrixXd | ConstructMassMatrixRB (space_ptrtype Xh, vector_of_element_type &Vu, sparse_matrix_ptrtype const &MassMatrix) |
void | ConstructNIRB (space_ptrtype Xh, vector_of_element_type &M_VNirbBasis, vector_of_element_type &VNirbBasis) |
Eigen::MatrixXd | ConstructStiffMatrixRB (space_ptrtype Xh, vector_of_element_type &Vu, sparse_matrix_ptrtype const &StiffMatrix) |
Eigen::MatrixXd | ConstructStiffMatrixSnapshot (space_ptrtype Xh, sparse_matrix_ptrtype const &StiffMatrix) |
gmsh_ptrtype | createGeo (double hsize, std::string MeshFileName) |
NIRBTEST () | |
void | OrthogonalisationRBFunction (space_ptrtype Xh, vector_of_element_type &Vu, vector_of_element_type &M_Vu, sparse_matrix_ptrtype const &StiffMatrix, sparse_matrix_ptrtype const &MassMatrix) |
void | OrthogonalisationRBFunctionL2GrammSchmidt (space_ptrtype Xh, vector_of_element_type &Vu, sparse_matrix_ptrtype const &MassMatrix) |
double | OrthogonalisationRBFunctionL2GrammSchmidt (space_ptrtype Xh, vector_of_element_type &Vu, int n, sparse_matrix_ptrtype const &MassMatrix) |
void | run () |
void | run (const double *X, unsigned long P, double *Y, unsigned long N) |
NIRBTEST< PolynomialOrder >::element_type NIRBTEST< PolynomialOrder >::blackbox | ( | space_ptrtype | Xh, |
double | param | ||
) |
deduce from expression the type of g (thanks to keyword 'auto')