15 #ifndef _aspect_compat_h 16 #define _aspect_compat_h 27 #if !DEAL_II_VERSION_GTE(9,7,0) 39 using ::Utilities::MPI::broadcast;
45 #if DEAL_II_VERSION_GTE(9,9,0) 46 template <
int dim,
typename NumberType>
49 template <
int dim,
typename NumberType>
55 #if DEAL_II_VERSION_GTE(9,7,0) 56 template <
int dim,
typename NumberType>
59 template <
int dim,
typename NumberType>
64 #if !DEAL_II_VERSION_GTE(9,7,0) 71 template <
typename T,
typename P =
void>
81 using ::SphericalManifold;
87 #if !DEAL_II_VERSION_GTE(9,7,0) 125 template <
int dim,
typename RangeNumberType =
double>
127 :
public Function<dim, RangeNumberType>
148 &tensor_function_object,
149 const unsigned int selected_component = 0,
150 const unsigned int n_components = dim);
161 virtual RangeNumberType
162 value(
const Point<dim> &p,
const unsigned int component = 0)
const override;
190 const std::function<Tensor<1, dim, RangeNumberType>(
const Point<dim> &)>
191 tensor_function_object;
203 template <
int dim,
typename RangeNumberType>
207 &tensor_function_object,
208 const unsigned int selected_component,
209 const unsigned int n_components)
210 :
Function<dim, RangeNumberType>(n_components)
211 , tensor_function_object(tensor_function_object)
212 , selected_component(selected_component)
221 template <
int dim,
typename RangeNumberType>
222 inline RangeNumberType
225 const unsigned int component)
const 246 template <
int dim,
typename RangeNumberType>
267 for (
unsigned int i = 0; i < dim; ++i)
279 template <
int dim,
typename RangeNumberType>
288 const unsigned int n_points = points.size();
290 for (
unsigned int p = 0; p < n_points; ++p)
299 #if !DEAL_II_VERSION_GTE(9,7,0) 305 const double inner_radius,
314 #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
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
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 unsigned int selected_component
const std::function< Tensor< 1, dim, RangeNumberType >(const Point< dim > &)> tensor_function_object
::ReferenceCell ReferenceCell
* * const Number outer_radius