Debian Codegraph @

dune/localfunctions/test/refinedelementtest.cc

raw
1 // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 // vi: set et ts=4 sw=2 sts=2:
3 // SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
4 // SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception
5
6 #include <iostream>
7
8 #include <dune/localfunctions/refined/refinedp1.hh>
9 #include <dune/localfunctions/refined/refinedp0.hh>
10
11 #include <dune/localfunctions/test/test-localfe.hh>
12
13 int main(int argc, char** argv)
14 {
15 bool success = true;
16
17 Dune::RefinedP1LocalFiniteElement<double,double,1> refp11dlfem;
18 TEST_FE(refp11dlfem);
19
20 Dune::RefinedP1LocalFiniteElement<double,double,2> refp12dlfem;
21 TEST_FE(refp12dlfem);
22
23 Dune::RefinedP1LocalFiniteElement<double,double,3> refp13dlfem;
24 TEST_FE(refp13dlfem);
25
26 Dune::RefinedP0LocalFiniteElement<double,double,1> refp01dlfem;
27 TEST_FE(refp01dlfem);
28
29 Dune::RefinedP0LocalFiniteElement<double,double,2> refp02dlfem;
30 TEST_FE(refp02dlfem);
31
32 return success ? 0 : 1;
33 }