void
Triangulation<dim, spacedim>::set_mesh_smoothing(const MeshSmoothing mesh_smoothing)
{
- Assert (n_levels() == 0, ExcTriangulationNotEmpty (vertices.size(), levels.size()));
+ Assert (n_levels() == 0,
+ ExcTriangulationNotEmpty (vertices.size(), levels.size()));
smooth_grid=mesh_smoothing;
}
Triangulation<dim, spacedim>::
copy_triangulation (const Triangulation<dim, spacedim> &old_tria)
{
- Assert (vertices.size() == 0, ExcTriangulationNotEmpty(vertices.size(), levels.size()));
- Assert (levels.size () == 0, ExcTriangulationNotEmpty(vertices.size(), levels.size()));
- Assert (faces == NULL, ExcTriangulationNotEmpty(vertices.size(), levels.size()));
-
+ Assert ((vertices.size() == 0) &&
+ (levels.size () == 0) &&
+ (faces == NULL),
+ ExcTriangulationNotEmpty(vertices.size(), levels.size()));
Assert (old_tria.levels.size() != 0, ExcInternalError());
Assert (old_tria.vertices.size() != 0, ExcInternalError());
Assert (dim == 1 || old_tria.faces != NULL, ExcInternalError());
const std::vector<CellData<dim> > &cells,
const SubCellData &subcelldata)
{
- Assert (vertices.size() == 0, ExcTriangulationNotEmpty(vertices.size(), levels.size()));
- Assert (levels.size() == 0, ExcTriangulationNotEmpty(vertices.size(), levels.size()));
- Assert (faces == NULL, ExcTriangulationNotEmpty(vertices.size(), levels.size()));
+ Assert ((vertices.size() == 0) &&
+ (levels.size () == 0) &&
+ (faces == NULL),
+ ExcTriangulationNotEmpty(vertices.size(), levels.size()));
// check that no forbidden arrays
// are used
Assert (subcelldata.check_consistency(dim), ExcInternalError());