> I can't print out the constraint matrix before constraints.close() is
> called, correct? I tried and got an empty file.
You need to make sure the file is flushed before you hit the
exception. Just put the code in a block like this then it should work:
{
std::ostringstream constraint_filename;
constraint_filename << "constraint_matrix.txt";
std::ofstream constraint_output (constraint_filename.str().c_str());
constraints.print(constraint_output);
}
--
Timo Heister
http://www.math.tamu.edu/~heister/
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii