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> 28 #include <deal.II/lac/vector.h> 30 #include <boost/optional.hpp> 33 DEAL_II_NAMESPACE_OPEN
185 void set_active_cell (
const typename DoFHandlerType::active_cell_iterator &newcell);
223 const unsigned int component = 0)
const;
241 std::vector<typename VectorType::value_type > &values,
242 const unsigned int component = 0)
const;
298 const unsigned int component = 0)
const;
334 const unsigned int component=0)
const;
348 virtual typename VectorType::value_type
350 const unsigned int component = 0)
const;
381 std::vector<typename VectorType::value_type> &values,
382 const unsigned int component = 0)
const;
413 std::vector<typename DoFHandlerType::active_cell_iterator > &cells,
414 std::vector<std::vector<
Point<dim> > > &qpoints,
415 std::vector<std::vector<unsigned int> > &maps)
const;
455 boost::optional<Point<dim> >
461 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)
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
VectorTools::ExcPointNotAvailableHere ExcPointNotAvailableHere
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