Skip to content
Snippets Groups Projects
Commit 1231eb9f authored by Porrmann, Maik's avatar Porrmann, Maik
Browse files

fix formatting hermite

parent 937a85ca
No related branches found
No related tags found
No related merge requests found
......@@ -40,25 +40,14 @@ namespace Dune
public:
using Eval = StandardEvaluator<VirtualMonomialBasis<dim, D>>;
using Base = PolynomialBasisWithMatrix<Eval>;
using Traits = LocalBasisTraits<D, dim, FieldVector<D, dim>, R, 1,
FieldVector<R, 1>, FieldMatrix<R, 1, dim>>;
// I have no idea whether or why I need this
// TODO find out
template <unsigned int dd, class FF>
struct EvaluationBasisFactory
{
typedef MonomialBasisProvider<dd, FF> Type;
};
using Traits = LocalBasisTraits<D, dim, FieldVector<D, dim>, R, 1, FieldVector<R, 1>, FieldMatrix<R, 1, dim>>;
private:
using MBasisFactory = MonomialBasisProvider<dim, D>;
public:
static constexpr unsigned int coeffSize = (dim == 1) ? 4
: (dim == 2) ? 10
: 20;
static constexpr unsigned int coeffSize = (dim == 1) ? 4 : (dim == 2) ? 10
: 20;
HermiteLocalBasis()
: Base(*MBasisFactory::template create<GeometryTypes::simplex(dim)>(3))
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment