DUNE PDELab (git)

dunefunctions.hh
1// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2// vi: set et ts=4 sw=2 sts=2:
3#ifndef DUNE_PDELAB_BACKEND_ISTL_DUNEFUNCTIONS_HH
4#define DUNE_PDELAB_BACKEND_ISTL_DUNEFUNCTIONS_HH
5
6#include <dune/pdelab/backend/istl.hh>
7
8namespace Dune {
9 namespace PDELab {
10 namespace ISTL {
11
12 template<std::size_t block_size = 1>
13 struct SimpleVectorBackend
14 {};
15
16 // can't have the closing of the namespace inside the #ifndef DOXYGEN block
17 } // namespace istl
18
19#ifndef DOXYGEN
20
21 namespace Backend {
22 namespace impl {
23
24 template<std::size_t block_size, typename GFS, typename E>
25 struct BackendVectorSelectorHelper<ISTL::SimpleVectorBackend<block_size>, GFS, E>
26 {
27 using type = Dune::PDELab::ISTL::BlockVector<GFS,Dune::BlockVector<Dune::FieldVector<E,block_size>>>;
28 using Type = type;
29 };
30
31 } // namespace impl
32 } // namespace Backend
33
34#endif // DOXYGEN
35
36 } // namespace PDELab
37} // namespace Dune
38
39#endif // DUNE_PDELAB_BACKEND_ISTL_VECTOR_HH
Dune namespace.
Definition: alignedallocator.hh:13
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 24, 23:30, 2024)