Forked from
agnumpde / dune-tectonic
19 commits ahead of the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
matrices.hh 355 B
#ifndef SRC_MATRICES_HH
#define SRC_MATRICES_HH
template <class Matrix> class Matrices {
public:
std::vector<std::shared_ptr<Matrix>> elasticity;
std::vector<std::shared_ptr<Matrix>> damping;
std::vector<std::shared_ptr<Matrix>> mass;
Matrices(size_t n) {
elasticity.resize(n);
damping.resize(n);
mass.resize(n);
}
};
#endif