ForwardIterator local_values_end)
{
typedef dealii::DoFAccessor<dim,DoFHandler<dim,spacedim> > BaseClass;
- Assert (local_values_end-local_values_begin == accessor.get_fe().dofs_per_cell,
+ Assert (static_cast<unsigned int>(local_values_end-local_values_begin)
+ == accessor.get_fe().dofs_per_cell,
typename BaseClass::ExcVectorDoesNotMatch());
Assert (values.size() == accessor.get_dof_handler().n_dofs(),
typename BaseClass::ExcVectorDoesNotMatch());
ExcMessage ("Cell must either be active, or all DoFs must be in vertices"));
unsigned int *cache = &accessor.dof_handler->levels[accessor.level()]
- ->cell_dof_indices_cache[accessor.present_index *
+ ->cell_dof_indices_cache[accessor.present_index *
accessor.get_fe().dofs_per_cell];
for ( ; local_values_begin != local_values_end; ++local_values_begin, ++cache)
*local_values_begin = values(*cache);
// no caching for hp::DoFHandler
// implemented
- Assert (local_values_end-local_values_begin == accessor.get_fe().dofs_per_cell,
+ Assert (static_cast<unsigned int>(local_values_end-local_values_begin)
+ == accessor.get_fe().dofs_per_cell,
typename BaseClass::ExcVectorDoesNotMatch());
const unsigned int dofs_per_cell = accessor.get_fe().dofs_per_cell;
ForwardIterator local_values_end)
{
typedef dealii::DoFAccessor<dim,DoFHandler<dim,spacedim> > BaseClass;
- Assert (local_values_end-local_values_begin == accessor.get_fe().dofs_per_cell,
+ Assert (static_cast<unsigned int>(local_values_end-local_values_begin)
+ == accessor.get_fe().dofs_per_cell,
typename BaseClass::ExcVectorDoesNotMatch());
Assert (values.size() == accessor.get_dof_handler().n_dofs(),
typename BaseClass::ExcVectorDoesNotMatch());
ExcMessage ("Cell must either be active, or all DoFs must be in vertices"));
unsigned int *cache = &accessor.dof_handler->levels[accessor.level()]
- ->cell_dof_indices_cache[accessor.present_index *
+ ->cell_dof_indices_cache[accessor.present_index *
accessor.get_fe().dofs_per_cell];
constraints.get_dof_values(values, *cache, local_values_begin,
local_values_end);
// no caching for hp::DoFHandler
// implemented
typedef dealii::DoFAccessor<dim,DoFHandler<dim,spacedim> > BaseClass;
- Assert (local_values_end-local_values_begin == accessor.get_fe().dofs_per_cell,
+ Assert (static_cast<unsigned int>(local_values_end-local_values_begin)
+ == accessor.get_fe().dofs_per_cell,
typename BaseClass::ExcVectorDoesNotMatch());
const unsigned int dofs_per_cell = accessor.get_fe().dofs_per_cell;
- template <int dim, int spacedim, typename number,
+ template <int dim, int spacedim, typename number,
class OutputMatrix, typename OutputVector>
static
void
- template <int dim, int spacedim, typename number,
+ template <int dim, int spacedim, typename number,
class OutputMatrix, typename OutputVector>
static
void
ForwardIterator local_values_end) const
{
internal::DoFCellAccessor::Implementation
- ::get_dof_values (*this, constraints, values,
+ ::get_dof_values (*this, constraints, values,
local_values_begin, local_values_end);
}