21 #ifndef _aspect_compat_h 22 #define _aspect_compat_h 31 #if !DEAL_II_VERSION_GTE(9,6,0) 42 #if !DEAL_II_VERSION_GTE(9,7,0) 54 using ::Utilities::MPI::broadcast;
60 #if DEAL_II_VERSION_GTE(9,9,0) 61 template <
int dim,
typename NumberType>
64 template <
int dim,
typename NumberType>
70 #if DEAL_II_VERSION_GTE(9,7,0) 71 template <
int dim,
typename NumberType>
74 template <
int dim,
typename NumberType>
79 #if !DEAL_II_VERSION_GTE(9,7,0) 86 template <
typename T,
typename P =
void>
99 #if !DEAL_II_VERSION_GTE(9,6,0) 110 template <
int dim,
int spacedim = dim>
125 virtual std::unique_ptr<Manifold<dim, spacedim>>
126 clone()
const override;
138 const double w)
const override;
160 get_normals_at_vertices(
204 std::pair<double, Tensor<1, spacedim>>
246 using ::SphericalManifold;
253 #if !DEAL_II_VERSION_GTE(9,7,0) 291 template <
int dim,
typename RangeNumberType =
double>
293 :
public Function<dim, RangeNumberType>
314 &tensor_function_object,
315 const unsigned int selected_component = 0,
316 const unsigned int n_components = dim);
327 virtual RangeNumberType
328 value(
const Point<dim> &p,
const unsigned int component = 0)
const override;
356 const std::function<Tensor<1, dim, RangeNumberType>(
const Point<dim> &)>
357 tensor_function_object;
369 template <
int dim,
typename RangeNumberType>
373 &tensor_function_object,
374 const unsigned int selected_component,
375 const unsigned int n_components)
376 :
Function<dim, RangeNumberType>(n_components)
377 , tensor_function_object(tensor_function_object)
378 , selected_component(selected_component)
387 template <
int dim,
typename RangeNumberType>
388 inline RangeNumberType
391 const unsigned int component)
const 412 template <
int dim,
typename RangeNumberType>
433 for (
unsigned int i = 0; i < dim; ++i)
445 template <
int dim,
typename RangeNumberType>
454 const unsigned int n_points = points.size();
456 for (
unsigned int p = 0; p < n_points; ++p)
465 #if !DEAL_II_VERSION_GTE(9,7,0) 471 const double inner_radius,
480 #if !DEAL_II_VERSION_GTE(9,8,0)
static ::ExceptionBase & ExcDimensionMismatch(std::size_t arg1, std::size_t arg2)
const unsigned int n_components
#define AssertIndexRange(index, range)
virtual void vector_value_list(const std::vector< Point< dim > > &points, std::vector< Vector< RangeNumberType > > &value_list) const override
virtual void value_list(const std::vector< Point< dim > > &points, std::vector< RangeNumberType > &values, const unsigned int component=0) const
virtual size_type size() const override
Tensor< 2, dim, Number > w(const Tensor< 2, dim, Number > &F, const Tensor< 2, dim, Number > &dF_dt)
virtual void vector_value(const Point< dim > &p, Vector< RangeNumberType > &values) const override
#define Assert(cond, exc)
const unsigned int selected_component
virtual RangeNumberType value(const Point< dim > &p, const unsigned int component=0) const override
const PolarManifold< spacedim > polar_manifold
void colorize_quarter_hyper_shell(Triangulation< dim > &tria, const Point< dim > ¢er, const double inner_radius, const double outer_radius)
VectorFunctionFromTensorFunctionObject(const std::function< Tensor< 1, dim, RangeNumberType >(const Point< dim > &)> &tensor_function_object, const unsigned int selected_component=0, const unsigned int n_components=dim)
const Point< spacedim > center
const unsigned int selected_component
const std::function< Tensor< 1, dim, RangeNumberType >(const Point< dim > &)> tensor_function_object
::ReferenceCell ReferenceCell
* * const Number outer_radius