3#ifndef LOCAL_STATIC_CONDENSATION_HPP
4#define LOCAL_STATIC_CONDENSATION_HPP
28 const Eigen::MatrixXd &
Perm,
43 std::tuple<Eigen::MatrixXd, Eigen::VectorXd, Eigen::MatrixXd, Eigen::VectorXd>
44 compute(
const std::pair<Eigen::MatrixXd, Eigen::VectorXd> &
lsT)
65 std::cout <<
"[LocalStaticCondensation] Found non invertible local matrix" << std::endl;
78 AT_sc = Eigen::MatrixXd::Zero(0,0);
79 bT_sc = Eigen::VectorXd::Zero(0);
end Sort data by mesh size(finest to coarsest or vice versa) for i
std::vector< size_t > m_globalDOFs_sc
Definition local_static_condensation.hpp:98
std::vector< size_t > globalDOFs_sc()
Returns global DOFs that are statically condensend.
Definition local_static_condensation.hpp:91
size_t dim_gl()
Returns the number of DOFs that are not statically condensed.
Definition local_static_condensation.hpp:88
size_t m_dim_sc
Definition local_static_condensation.hpp:100
size_t dim_sc()
Returns the number of DOFs that are statically condensed.
Definition local_static_condensation.hpp:93
std::tuple< Eigen::MatrixXd, Eigen::VectorXd, Eigen::MatrixXd, Eigen::VectorXd > compute(const std::pair< Eigen::MatrixXd, Eigen::VectorXd > &lsT)
Compute the local static condensation.
Definition local_static_condensation.hpp:44
size_t m_dim_gl
Definition local_static_condensation.hpp:99
std::vector< size_t > m_globalDOFs_gl
Definition local_static_condensation.hpp:97
LocalStaticCondensation(const Eigen::MatrixXd &Perm, const std::vector< size_t > &globalDOFs_gl, const std::vector< size_t > &globalDOFs_sc)
Constructor.
Definition local_static_condensation.hpp:27
Eigen::MatrixXd m_Perm
Definition local_static_condensation.hpp:96
std::vector< size_t > globalDOFs_gl()
Returns global DOFs that are not statically condensend.
Definition local_static_condensation.hpp:86
depending on the Matrix Market format indicated by or array(dense array storage). The data will be duplicated % as appropriate if symmetry is indicated in the header. % % Optionally
Definition mhd-solutions.hpp:9
Structure to store information for, and perform, local static condensation.
Definition local_static_condensation.hpp:25