*/
template <class InputVector, typename number>
void get_function_values (const InputVector& fe_function,
- const VectorSlice<const std::vector<unsigned int> >& indices,
+ const VectorSlice<const std::vector<types::global_dof_index> >& indices,
std::vector<number>& values) const;
/**
*/
template <class InputVector, typename number>
void get_function_values (const InputVector& fe_function,
- const VectorSlice<const std::vector<unsigned int> >& indices,
+ const VectorSlice<const std::vector<types::global_dof_index> >& indices,
std::vector<Vector<number> >& values) const;
*/
template <class InputVector>
void get_function_values (const InputVector& fe_function,
- const VectorSlice<const std::vector<unsigned int> >& indices,
+ const VectorSlice<const std::vector<types::global_dof_index> >& indices,
VectorSlice<std::vector<std::vector<double> > > values,
const bool quadrature_points_fastest) const;
*/
template <class InputVector>
void get_function_gradients (const InputVector& fe_function,
- const VectorSlice<const std::vector<unsigned int> >& indices,
+ const VectorSlice<const std::vector<types::global_dof_index> >& indices,
std::vector<Tensor<1,spacedim> >& gradients) const;
/**
*/
template <class InputVector>
void get_function_gradients (const InputVector& fe_function,
- const VectorSlice<const std::vector<unsigned int> >& indices,
+ const VectorSlice<const std::vector<types::global_dof_index> >& indices,
VectorSlice<std::vector<std::vector<Tensor<1,spacedim> > > > gradients,
bool quadrature_points_fastest = false) const;
*/
template <class InputVector>
void get_function_grads (const InputVector& fe_function,
- const VectorSlice<const std::vector<unsigned int> >& indices,
+ const VectorSlice<const std::vector<types::global_dof_index> >& indices,
std::vector<Tensor<1,spacedim> >& gradients) const;
/**
*/
template <class InputVector>
void get_function_grads (const InputVector& fe_function,
- const VectorSlice<const std::vector<unsigned int> >& indices,
+ const VectorSlice<const std::vector<types::global_dof_index> >& indices,
std::vector<std::vector<Tensor<1,spacedim> > >& gradients,
bool quadrature_points_fastest = false) const;
template <class InputVector>
void get_function_hessians (
const InputVector& fe_function,
- const VectorSlice<const std::vector<unsigned int> >& indices,
+ const VectorSlice<const std::vector<types::global_dof_index> >& indices,
std::vector<Tensor<2,spacedim> >& hessians) const;
/**
template <class InputVector>
void get_function_hessians (
const InputVector& fe_function,
- const VectorSlice<const std::vector<unsigned int> >& indices,
+ const VectorSlice<const std::vector<types::global_dof_index> >& indices,
VectorSlice<std::vector<std::vector<Tensor<2,spacedim> > > > hessians,
bool quadrature_points_fastest = false) const;
template <class InputVector, typename number>
void get_function_laplacians (
const InputVector& fe_function,
- const VectorSlice<const std::vector<unsigned int> >& indices,
+ const VectorSlice<const std::vector<types::global_dof_index> >& indices,
std::vector<number>& laplacians) const;
/**
template <class InputVector, typename number>
void get_function_laplacians (
const InputVector& fe_function,
- const VectorSlice<const std::vector<unsigned int> >& indices,
+ const VectorSlice<const std::vector<types::global_dof_index> >& indices,
std::vector<Vector<number> >& laplacians) const;
/**
template <class InputVector, typename number>
void get_function_laplacians (
const InputVector& fe_function,
- const VectorSlice<const std::vector<unsigned int> >& indices,
+ const VectorSlice<const std::vector<types::global_dof_index> >& indices,
std::vector<std::vector<number> >& laplacians,
bool quadrature_points_fastest = false) const;
//@}
* to.
*/
virtual
- unsigned int
+ types::global_dof_index
n_dofs_for_dof_handler () const = 0;
#include "fe_values.decl.1.inst"
* to.
*/
virtual
- unsigned int
+ types::global_dof_index
n_dofs_for_dof_handler () const;
#include "fe_values.decl.2.inst"
* error.
*/
virtual
- unsigned int
+ types::global_dof_index
n_dofs_for_dof_handler () const;
#include "fe_values.decl.2.inst"
template <int dim, int spacedim>
template <typename CI>
-unsigned int
+types::global_dof_index
FEValuesBase<dim,spacedim>::CellIterator<CI>::n_dofs_for_dof_handler () const
{
return cell->get_dof_handler().n_dofs();
{
Assert (cell->has_children() == false, ExcNotImplemented());
- std::vector<unsigned int> dof_indices (cell->get_fe().dofs_per_cell);
+ std::vector<types::global_dof_index> dof_indices (cell->get_fe().dofs_per_cell);
cell->get_dof_indices (dof_indices);
for (unsigned int i=0; i<cell->get_fe().dofs_per_cell; ++i)
template <int dim, int spacedim>
-unsigned int
+types::global_dof_index
FEValuesBase<dim,spacedim>::TriaCellIterator::n_dofs_for_dof_handler () const
{
Assert (false, ExcMessage (message_string));
template <class InputVector, typename number>
void FEValuesBase<dim,spacedim>::get_function_values (
const InputVector& fe_function,
- const VectorSlice<const std::vector<unsigned int> >& indices,
+ const VectorSlice<const std::vector<types::global_dof_index> >& indices,
std::vector<number> &values) const
{
Assert (this->update_flags & update_values, ExcAccessToUninitializedField());
template <class InputVector, typename number>
void FEValuesBase<dim,spacedim>::get_function_values (
const InputVector& fe_function,
- const VectorSlice<const std::vector<unsigned int> >& indices,
+ const VectorSlice<const std::vector<types::global_dof_index> >& indices,
std::vector<Vector<number> >& values) const
{
// One value per quadrature point
template <class InputVector>
void FEValuesBase<dim,spacedim>::get_function_values (
const InputVector& fe_function,
- const VectorSlice<const std::vector<unsigned int> >& indices,
+ const VectorSlice<const std::vector<types::global_dof_index> >& indices,
VectorSlice<std::vector<std::vector<double> > > values,
bool quadrature_points_fastest) const
{
template <class InputVector>
void FEValuesBase<dim,spacedim>::get_function_gradients (
const InputVector& fe_function,
- const VectorSlice<const std::vector<unsigned int> >& indices,
+ const VectorSlice<const std::vector<types::global_dof_index> >& indices,
std::vector<Tensor<1,spacedim> > &gradients) const
{
Assert (this->update_flags & update_gradients, ExcAccessToUninitializedField());
template <class InputVector>
void FEValuesBase<dim,spacedim>::get_function_gradients (
const InputVector& fe_function,
- const VectorSlice<const std::vector<unsigned int> >& indices,
+ const VectorSlice<const std::vector<types::global_dof_index> >& indices,
VectorSlice<std::vector<std::vector<Tensor<1,spacedim> > > > gradients,
bool quadrature_points_fastest) const
{
template <class InputVector>
void FEValuesBase<dim,spacedim>::get_function_hessians (
const InputVector& fe_function,
- const VectorSlice<const std::vector<unsigned int> >& indices,
+ const VectorSlice<const std::vector<types::global_dof_index> >& indices,
std::vector<Tensor<2,spacedim> > &hessians) const
{
Assert (this->update_flags & update_second_derivatives, ExcAccessToUninitializedField());
template <class InputVector>
void FEValuesBase<dim, spacedim>::get_function_hessians (
const InputVector& fe_function,
- const VectorSlice<const std::vector<unsigned int> >& indices,
+ const VectorSlice<const std::vector<types::global_dof_index> >& indices,
VectorSlice<std::vector<std::vector<Tensor<2,spacedim> > > > hessians,
bool quadrature_points_fastest) const
{
template <class InputVector, typename number>
void FEValuesBase<dim,spacedim>::get_function_laplacians (
const InputVector& fe_function,
- const VectorSlice<const std::vector<unsigned int> >& indices,
+ const VectorSlice<const std::vector<types::global_dof_index> >& indices,
std::vector<number> &laplacians) const
{
Assert (this->update_flags & update_hessians, ExcAccessToUninitializedField());
template <class InputVector, typename number>
void FEValuesBase<dim,spacedim>::get_function_laplacians (
const InputVector& fe_function,
- const VectorSlice<const std::vector<unsigned int> >& indices,
+ const VectorSlice<const std::vector<types::global_dof_index> >& indices,
std::vector<Vector<number> >& laplacians) const
{
// One value per quadrature point
template <class InputVector, typename number>
void FEValuesBase<dim,spacedim>::get_function_laplacians (
const InputVector& fe_function,
- const VectorSlice<const std::vector<unsigned int> >& indices,
+ const VectorSlice<const std::vector<types::global_dof_index> >& indices,
std::vector<std::vector<number> >& laplacians,
bool quadrature_points_fastest) const
{