26#ifndef ASLINTERPOLATION
27#define ASLINTERPOLATION
30#include "../aslUtilities.h"
37 typedef std::shared_ptr<ElementBase>
Element;
58 return fabs(x)<
r0 ? 1.- fabs(x)/
r0 : 0;
76 return a<
r0 ? b*b : 0;
94 return a<
r0 ? b*b*b : 0;
113 return b < 1 ? 2. *
b2*b - 3. *
b2 + 1 : 0;
Quadratic spline function.
double operator()(double x)
SPDataWrapperACLData generateDataContainerACL_SP(const Block &b, unsigned int n=1)
generates pointer to ACL Data field with n components
Advanced Simulation Library.
std::shared_ptr< ElementBase > Element