typename IteratorRangeToItemStream<Iterator,ScratchData,CopyData>::ItemType
ItemType;
- ItemType *current_item = reinterpret_cast<ItemType *> (item);
+ ItemType *current_item = static_cast<ItemType *> (item);
// then call the worker function on
// each element of the chunk we
typename IteratorRangeToItemStream<Iterator,ScratchData,CopyData>::ItemType
ItemType;
- ItemType *current_item = reinterpret_cast<ItemType *> (item);
+ ItemType *current_item = static_cast<ItemType *> (item);
// initiate copying data
for (unsigned int i=0; i<std_cxx1x::get<3>(*current_item); ++i)
if (pc != 0)
fevalv[i] = std_cxx1x::shared_ptr<FEValuesBase<dim,sdim> > (
- reinterpret_cast<FEFaceValuesBase<dim,sdim>*>(
new FEValues<dim,sdim> (pc->get_mapping(), pc->get_fe(),
- pc->get_quadrature(), pc->get_update_flags())));
+ pc->get_quadrature(), pc->get_update_flags()));
else if (pf != 0)
fevalv[i] = std_cxx1x::shared_ptr<FEValuesBase<dim,sdim> > (
new FEFaceValues<dim,sdim> (pf->get_mapping(), pf->get_fe(), pf->get_quadrature(), pf->get_update_flags()));
if (pc != 0)
fevalv[i] = std_cxx1x::shared_ptr<FEValuesBase<dim,sdim> > (
- reinterpret_cast<FEFaceValuesBase<dim,sdim>*>(
new FEValues<dim,sdim> (pc->get_mapping(), pc->get_fe(),
- pc->get_quadrature(), pc->get_update_flags())));
+ pc->get_quadrature(), pc->get_update_flags()));
else if (pf != 0)
{
Assert (false, ExcImpossibleInDim(1));
if (pc != 0)
fevalv[i] = std_cxx1x::shared_ptr<FEValuesBase<dim,sdim> > (
- reinterpret_cast<FEFaceValuesBase<dim,sdim>*>(
new FEValues<dim,sdim> (pc->get_mapping(), pc->get_fe(),
- pc->get_quadrature(), pc->get_update_flags())));
+ pc->get_quadrature(), pc->get_update_flags()));
else if (pf != 0)
{
Assert (false, ExcImpossibleInDim(1));