const EpsFlags &flags,
std::ostream &out)
{
- Assert (out, ExcIO());
+ AssertThrow (out, ExcIO());
#ifndef DEAL_II_WITH_MPI
// verify that there are indeed
std::pair<unsigned int, unsigned int>
determine_intermediate_format_dimensions (std::istream &input)
{
- Assert (input, ExcIO());
+ AssertThrow (input, ExcIO());
unsigned int dim, spacedim;
input >> dim >> spacedim;
void
DataOutReader<dim,spacedim>::read (std::istream &in)
{
- Assert (in, ExcIO());
+ AssertThrow (in, ExcIO());
// first empty previous content
{
std_cxx11::get<2>(vector_data_ranges[i]) = name;
}
- Assert (in, ExcIO());
+ AssertThrow (in, ExcIO());
}
operator >> (std::istream &in,
Patch<dim,spacedim> &patch)
{
- Assert (in, ExcIO());
+ AssertThrow (in, ExcIO());
// read a header line and compare
// it to what we usually
for (unsigned int j=0; j<patch.data.n_cols(); ++j)
in >> patch.data[i][j];
- Assert (in, ExcIO());
+ AssertThrow (in, ExcIO());
return in;
}
// ---------------------------------------------------------------------
//
-// Copyright (C) 2005 - 2014 by the deal.II authors
+// Copyright (C) 2005 - 2015 by the deal.II authors
//
// This file is part of the deal.II library.
//
void
IndexSet::block_write(std::ostream &out) const
{
- Assert (out, ExcIO());
+ AssertThrow (out, ExcIO());
out.write(reinterpret_cast<const char *>(&index_space_size),
sizeof(index_space_size));
size_t n_ranges = ranges.size();
if (ranges.empty() == false)
out.write (reinterpret_cast<const char *>(&*ranges.begin()),
ranges.size() * sizeof(Range));
- Assert (out, ExcIO());
+ AssertThrow (out, ExcIO());
}
void