16 #ifndef dealii_fe_function_h 17 #define dealii_fe_function_h 19 #include <deal.II/base/function.h> 20 #include <deal.II/dofs/dof_handler.h> 21 #include <deal.II/dofs/dof_accessor.h> 22 #include <deal.II/fe/mapping_q1.h> 23 #include <deal.II/base/function.h> 24 #include <deal.II/base/point.h> 25 #include <deal.II/base/tensor.h> 26 #include <deal.II/base/thread_local_storage.h> 27 #include <deal.II/grid/grid_tools_cache.h> 29 #include <deal.II/lac/vector.h> 31 #include <boost/optional.hpp> 34 DEAL_II_NAMESPACE_OPEN
180 void set_active_cell (
const typename DoFHandlerType::active_cell_iterator &newcell);
218 const unsigned int component = 0)
const;
236 std::vector<typename VectorType::value_type > &values,
237 const unsigned int component = 0)
const;
293 const unsigned int component = 0)
const;
329 const unsigned int component=0)
const;
343 virtual typename VectorType::value_type
345 const unsigned int component = 0)
const;
376 std::vector<typename VectorType::value_type> &values,
377 const unsigned int component = 0)
const;
419 std::vector<typename DoFHandlerType::active_cell_iterator > &cells,
420 std::vector<std::vector<
Point<dim> > > &qpoints,
421 std::vector<std::vector<unsigned int> > &maps)
const;
461 boost::optional<Point<dim> >
467 DEAL_II_NAMESPACE_CLOSE
SmartPointer< const DoFHandlerType, FEFieldFunction< dim, DoFHandlerType, VectorType > > dh
FEFieldFunction(const DoFHandlerType &dh, const VectorType &data_vector, const Mapping< dim > &mapping=StaticMappingQ1< dim >::mapping)
virtual VectorType::value_type value(const Point< dim > &p, const unsigned int component=0) const
virtual void vector_value(const Point< dim > &p, Vector< typename VectorType::value_type > &values) const
virtual void gradient_list(const std::vector< Point< dim > > &p, std::vector< Tensor< 1, dim, typename VectorType::value_type > > &gradients, const unsigned int component=0) const
virtual void vector_laplacian(const Point< dim > &p, Vector< typename VectorType::value_type > &values) const
virtual void laplacian_list(const std::vector< Point< dim > > &points, std::vector< typename VectorType::value_type > &values, const unsigned int component=0) const
const Mapping< dim > & mapping
void set_active_cell(const typename DoFHandlerType::active_cell_iterator &newcell)
GridTools::Cache< dim, DoFHandlerType::space_dimension > cache
boost::optional< Point< dim > > get_reference_coordinates(const typename DoFHandlerType::active_cell_iterator &cell, const Point< dim > &point) const
virtual VectorType::value_type laplacian(const Point< dim > &p, const unsigned int component=0) const
virtual void vector_value_list(const std::vector< Point< dim > > &points, std::vector< Vector< typename VectorType::value_type > > &values) const
static ::ExceptionBase & ExcPointNotAvailableHere()
virtual void vector_gradient_list(const std::vector< Point< dim > > &p, std::vector< std::vector< Tensor< 1, dim, typename VectorType::value_type > > > &gradients) const
const VectorType & data_vector
virtual void vector_laplacian_list(const std::vector< Point< dim > > &points, std::vector< Vector< typename VectorType::value_type > > &values) const
Threads::ThreadLocalStorage< typename DoFHandlerType::active_cell_iterator > cell_hint_t
virtual void vector_gradient(const Point< dim > &p, std::vector< Tensor< 1, dim, typename VectorType::value_type > > &gradients) const
virtual void value_list(const std::vector< Point< dim > > &points, std::vector< typename VectorType::value_type > &values, const unsigned int component=0) const
unsigned int compute_point_locations(const std::vector< Point< dim > > &points, std::vector< typename DoFHandlerType::active_cell_iterator > &cells, std::vector< std::vector< Point< dim > > > &qpoints, std::vector< std::vector< unsigned int > > &maps) const
virtual Tensor< 1, dim, typename VectorType::value_type > gradient(const Point< dim > &p, const unsigned int component=0) const