faces[face].cells_exterior[0] == numbers::invalid_unsigned_int;
if (is_boundary_face &&
- fe_boundary_face_values_container[my_q][0].get() == 0)
+ fe_boundary_face_values_container[my_q][0] == nullptr)
fe_boundary_face_values_container[my_q][0].reset
(new FEFaceValues<dim> (mapping, dummy_fe, quadrature,
update_flags_boundary));
- else if (fe_face_values_container[my_q][0].get() == 0)
+ else if (fe_face_values_container[my_q][0] == nullptr)
fe_face_values_container[my_q][0].reset
(new FEFaceValues<dim> (mapping, dummy_fe, quadrature,
update_flags_inner));
cell_it (&tria, cells[faces[face].cells_exterior[v]].first,
cells[faces[face].cells_exterior[v]].second);
- const FEValuesBase<dim> *actual_fe_face_values = 0;
+ const FEValuesBase<dim> *actual_fe_face_values = nullptr;
if (faces[face].subface_index >=
GeometryInfo<dim>::max_children_per_cell)
{
}
else
{
- if (fe_subface_values_container[my_q][0].get() == 0)
+ if (fe_subface_values_container[my_q][0] == nullptr)
fe_subface_values_container[my_q][0].reset
(new FESubfaceValues<dim> (mapping, dummy_fe, quadrature,
update_flags_inner));
this->requests[component_in_block_vector]);
matrix_free.release_scratch_data_non_threadsafe(tmp_data[component_in_block_vector]);
- tmp_data[component_in_block_vector] = 0;
+ tmp_data[component_in_block_vector] = nullptr;
#endif
}
}
this->requests[component_in_block_vector]);
matrix_free.release_scratch_data_non_threadsafe(tmp_data[component_in_block_vector]);
- tmp_data[component_in_block_vector] = 0;
+ tmp_data[component_in_block_vector] = nullptr;
#endif
}
}
AssertIndexRange (macro_cell_number, task_info.cell_partition_data.back());
AssertIndexRange (vector_number, n_components_filled(macro_cell_number));
- const DoFHandler<dim> *dofh = 0;
+ const DoFHandler<dim> *dofh = nullptr;
if (dof_handlers.active_dof_handler == DoFHandlers::usual)
{
AssertDimension (dof_handlers.dof_handler.size(),
#else
const unsigned int dim=2;
const unsigned int spacedim=2;
- Assert (tria != 0, ExcNoTriangulationSelected());
+ Assert (tria != nullptr, ExcNoTriangulationSelected());
// this function assumes the TAU
// grid format.
//
#else
const unsigned int dim=3;
const unsigned int spacedim=3;
- Assert (tria != 0, ExcNoTriangulationSelected());
+ Assert (tria != nullptr, ExcNoTriangulationSelected());
// this function assumes the TAU
// grid format.
/**
* creating a solver object if this is necessary
*/
- if (solver_data.get() == 0)
+ if (solver_data == nullptr)
{
solver_data = std_cxx14::make_unique<SolverDataMUMPS >();
void operator() () const
{
- MFWorkerInterface *used_worker = worker != 0 ? worker : *worker_pointer;
- Assert(used_worker != 0, ExcInternalError());
+ MFWorkerInterface *used_worker = worker != nullptr ? worker : *worker_pointer;
+ Assert(used_worker != nullptr, ExcInternalError());
used_worker->cell(std::make_pair(task_info.cell_partition_data[partition],
task_info.cell_partition_data[partition+1]));
worker.vector_update_ghosts_finish();
else
worker.vector_compress_start();
- return 0;
+ return nullptr;
}
private:
AssertDimension(sparsity.n_cols(), immersed_dh.n_dofs());
static_assert(dim1 <= dim0, "This function can only work if dim1 <= dim0");
Assert((dynamic_cast<const parallel::distributed::Triangulation<dim1,spacedim> *>
- (&immersed_dh.get_triangulation()) == 0), ExcNotImplemented());
+ (&immersed_dh.get_triangulation()) == nullptr), ExcNotImplemented());
const auto &space_fe = space_dh.get_fe();
const auto &immersed_fe = immersed_dh.get_fe();
AssertDimension(matrix.n(), immersed_dh.n_dofs());
static_assert(dim1 <= dim0, "This function can only work if dim1 <= dim0");
Assert((dynamic_cast<const parallel::distributed::Triangulation<dim1,spacedim>*>
- (&immersed_dh.get_triangulation()) == 0), ExcNotImplemented());
+ (&immersed_dh.get_triangulation()) == nullptr), ExcNotImplemented());
const auto &space_fe = space_dh.get_fe();
const auto &immersed_fe = immersed_dh.get_fe();