Skip to content
Snippets Groups Projects
matrices.hh 355 B
Newer Older
#ifndef SRC_MATRICES_HH
#define SRC_MATRICES_HH

podlesny's avatar
.  
podlesny committed
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);
  }