134 for (
unsigned int i = 0; i < dim; ++i)
135 for (
unsigned int j = i;
j < dim; ++
j)
149 for (
unsigned int i = 0; i < dim; ++i)
150 for (
unsigned int j = i;
j < dim; ++
j)
151 out[i][
j] += val * in[i] * in[
j];
159 const unsigned int n_components)
161 , coordinate_system_offset(p)
171 const unsigned int component)
const
174 const std::array<double, dim>
sp =
176 return svalue(
sp, component);
184 const unsigned int )
const
197 constexpr int dim = 3;
199 const std::array<double, dim>
sp =
201 const std::array<double, dim>
sg = sgradient(
sp, component);
240 const unsigned int )
const
253 constexpr int dim = 3;
255 const std::array<double, dim>
sp =
257 const std::array<double, dim>
sg = sgradient(
sp, component);
258 const std::array<double, 6> sh = shessian(
sp, component);
265 const double r =
sp[0];
272 const double r2 = r * r;
284 const double c_ur2 = sh[0];
320 const unsigned int )
const
329 std::array<double, dim>
331 const unsigned int )
const
334 return std::array<double, dim>();
340 std::array<double, 6>
342 const unsigned int )
const
345 return std::array<double, 6>();
virtual SymmetricTensor< 2, dim > hessian(const Point< dim > &p, const unsigned int component=0) const override
Spherical(const Point< dim > ¢er=Point< dim >(), const unsigned int n_components=1)
virtual Tensor< 1, dim > gradient(const Point< dim > &p, const unsigned int component=0) const override
virtual std::array< double, dim > sgradient(const std::array< double, dim > &sp, const unsigned int component) const
virtual double value(const Point< dim > &point, const unsigned int component=0) const override
virtual std::size_t memory_consumption() const override
virtual std::array< double, 6 > shessian(const std::array< double, dim > &sp, const unsigned int component) const
virtual double svalue(const std::array< double, dim > &sp, const unsigned int component) const
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcNotImplemented()
#define Assert(cond, exc)
static ::ExceptionBase & ExcDivideByZero()
#define AssertThrow(cond, exc)
std::array< double, dim > to_spherical(const Point< dim > &point)
::VectorizedArray< Number, width > cos(const ::VectorizedArray< Number, width > &)
::VectorizedArray< Number, width > sin(const ::VectorizedArray< Number, width > &)