dune-composites (2.5.1)

partitionofunitybasis.hh
1#ifndef DUNE_GENEO_PARTITIONOFUNITYBASIS_HH
2#define DUNE_GENEO_PARTITIONOFUNITYBASIS_HH
3
4#include "subdomainbasis.hh"
5
6namespace Dune{
7 namespace Geneo{
8
9 template<class X>
10 class PartitionOfUnityBasis : public SubdomainBasis<X>
11 {
12
13 public:
14 PartitionOfUnityBasis(X& part_unity) {
15 this->local_basis.resize(1);
16 this->local_basis[0] = std::make_shared<X>(part_unity);
17 }
18
19 };
20
21 }
22}
23
24#endif //DUNE_GENEO_PARTITIONOFUNITYBASIS_HH
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden & Uni Heidelberg  |  generated with Hugo v0.111.3 (Sep 5, 22:35, 2025)