NuTo
Numerics Tool
InterpolationCompanion.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <memory>
4 #include "InterpolationSimple.h"
6 
7 namespace NuTo
8 {
9 
11 std::unique_ptr<InterpolationSimple> CreateLagrangeInterpolation(const Shape& shape, int order);
12 
14 std::unique_ptr<InterpolationSimple> CreateLobattoInterpolation(const Shape& shape, int order);
15 
16 } // namespace NuTo
std::unique_ptr< InterpolationSimple > CreateLobattoInterpolation(const Shape &shape, int order)
Create a new Lobatto interpolation from a given shape and order.
Definition: InterpolationCompanion.cpp:164
std::unique_ptr< InterpolationSimple > CreateLagrangeInterpolation(const Shape &shape, int order)
Create a new Lagrange interpolation from a given shape and order.
Definition: InterpolationCompanion.cpp:122
Definition: Exception.h:6