data.merge (additional_data);
{
- std::ofstream out2( "data_out_reader_01/outfile");
+ std::ofstream out2( "outfile");
data.write_deal_II_intermediate (out2);
}
- cat_file("data_out_reader_01/outfile");
- std::remove ("data_out_reader_01/outfile");
+ cat_file("outfile");
+ std::remove ("outfile");
}
is1.add_range(0,10);
is1.add_range(20,100);
- std::ofstream out("index_set_readwrite_01/a.idxset");
+ std::ofstream out("a.idxset");
is1.write(out);
IndexSet is2;
- std::ifstream in("index_set_readwrite_01/a.idxset");
+ std::ifstream in("a.idxset");
is2.read(in);
Assert(is1 == is2, ExcInternalError());
IndexSet is3(11);
is3.add_range(3,5);
- std::ifstream in2("index_set_readwrite_01/a.idxset");
+ std::ifstream in2("a.idxset");
is3.read(in2);
Assert(is1 == is3, ExcInternalError());
deallog << "OK" << std::endl;
- std::remove ("index_set_readwrite_01/a.idxset");
+ std::remove ("a.idxset");
}
is1.add_range(20,100);
{
- std::ofstream out("index_set_readwrite_02/a.idxset");
+ std::ofstream out("a.idxset");
is1.block_write(out);
}
IndexSet is2;
- std::ifstream in("index_set_readwrite_02/a.idxset");
+ std::ifstream in("a.idxset");
is2.block_read(in);
Assert(is1 == is2, ExcInternalError());
IndexSet is3(11);
is3.add_range(3,5);
- std::ifstream in2("index_set_readwrite_02/a.idxset");
+ std::ifstream in2("a.idxset");
is3.block_read(in2);
Assert(is1 == is3, ExcInternalError());
deallog << "OK" << std::endl;
- std::remove ("index_set_readwrite_02/a.idxset");
+ std::remove ("a.idxset");
}
is1.add_range(0,75);
{
- std::ofstream out("index_set_readwrite_03/a.idxset");
+ std::ofstream out("a.idxset");
is1.block_write(out);
}
IndexSet is2;
- std::ifstream in("index_set_readwrite_03/a.idxset");
+ std::ifstream in("a.idxset");
is2.block_read(in);
Assert(is1 == is2, ExcInternalError());
deallog << "OK" << std::endl;
- std::remove ("index_set_readwrite_03/a.idxset");
+ std::remove ("a.idxset");
}