dune-composites (2.5.1)

coarsespace.hh
1#ifndef DUNE_GENEO_COARSESPACE_HH
2#define DUNE_GENEO_COARSESPACE_HH
3
4namespace Dune{
5 namespace Geneo{
6
7 template <class M, class X>
8 class CoarseSpace {
9
10 public:
11 typedef Dune::BlockVector<Dune::FieldVector<double,1> > COARSE_V;
12 typedef Dune::BCRSMatrix<Dune::FieldMatrix<double,1,1> > COARSE_M;
13
14 virtual std::shared_ptr<COARSE_V> restrict_defect (const X& d) const = 0;
15
16 virtual std::shared_ptr<X> prolongate_defect (const COARSE_V& v0) const = 0;
17
18 virtual std::shared_ptr<COARSE_M> get_coarse_system () = 0;
19
20 virtual int get_local_basis_sizes (int rank) = 0;
21
22 virtual int basis_size() = 0;
23
24 virtual int basis_array_offset(int rank) = 0;
25 };
26
27 }
28}
29
30#endif //DUNE_GENEO_COARSESPACE_HH
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden & Uni Heidelberg  |  generated with Hugo v0.111.3 (Sep 5, 22:35, 2025)