DataOut<dim> out;
ofstream o(filename.c_str());
fill_data (out);
- out.add_data_vector (l1_error_per_dof, "L1-Error");
- out.add_data_vector (l2_error_per_dof, "L2-Error");
- out.add_data_vector (linfty_error_per_dof, "Linfty-Error");
- out.add_data_vector (h1_seminorm_error_per_dof, "H1-seminorm-Error");
- out.add_data_vector (h1_error_per_dof, "H1-Error");
+ out.add_data_vector (l1_error_per_dof, "L1_Error");
+ out.add_data_vector (l2_error_per_dof, "L2_Error");
+ out.add_data_vector (linfty_error_per_dof, "Linfty_Error");
+ out.add_data_vector (h1_seminorm_error_per_dof, "H1_seminorm_Error");
+ out.add_data_vector (h1_error_per_dof, "H1_Error");
out.write_ucd (o);
o.close ();
}
<< " Unconstrained matrix bandwidth= " << unconstrained_bandwidth << endl
<< " Constrained matrix bandwidth = " << sparsity.bandwidth()
<< endl << endl;
+
+ // release the lock that dof has to the
+ // finite element object
+ dof->clear ();
};
DataOut<dim> out;
fill_data (out);
- out.add_data_vector (l2_error_per_dof, "L2-Error");
- out.add_data_vector (linfty_error_per_dof, "Linfty-Error");
- out.add_data_vector (h1_error_per_dof, "H1-Error");
- out.add_data_vector (estimated_error_per_dof, "Estimated Error");
- out.add_data_vector (error_ratio, "Ratio True:Estimated Error");
+ out.add_data_vector (l2_error_per_dof, "L2_Error");
+ out.add_data_vector (linfty_error_per_dof, "Linfty_Error");
+ out.add_data_vector (h1_error_per_dof, "H1_Error");
+ out.add_data_vector (estimated_error_per_dof, "Estimated_Error");
+ out.add_data_vector (error_ratio, "Ratio_True_to_Estimated_Error");
string filename = prm.get ("Output base filename");
switch (refine_mode)
{
out.attach_dof_handler (*dof);
out.add_data_vector (solution, "u");
- out.add_data_vector (l1_error_per_dof, "L1-Error");
- out.add_data_vector (l2_error_per_dof, "L2-Error");
- out.add_data_vector (linfty_error_per_dof, "Linfty-Error");
- out.add_data_vector (h1_seminorm_error_per_dof, "H1-seminorm-Error");
- out.add_data_vector (h1_error_per_dof, "H1-Error");
+ out.add_data_vector (l1_error_per_dof, "L1_Error");
+ out.add_data_vector (l2_error_per_dof, "L2_Error");
+ out.add_data_vector (linfty_error_per_dof, "Linfty_Error");
+ out.add_data_vector (h1_seminorm_error_per_dof, "H1_seminorm_Error");
+ out.add_data_vector (h1_error_per_dof, "H1_Error");
out.write_ucd (o);
o.close ();
}
DataOut<dim> out;
ofstream o(filename.c_str());
fill_data (out);
- out.add_data_vector (l1_error_per_dof, "L1-Error");
- out.add_data_vector (l2_error_per_dof, "L2-Error");
- out.add_data_vector (linfty_error_per_dof, "Linfty-Error");
- out.add_data_vector (h1_seminorm_error_per_dof, "H1-seminorm-Error");
- out.add_data_vector (h1_error_per_dof, "H1-Error");
+ out.add_data_vector (l1_error_per_dof, "L1_Error");
+ out.add_data_vector (l2_error_per_dof, "L2_Error");
+ out.add_data_vector (linfty_error_per_dof, "Linfty_Error");
+ out.add_data_vector (h1_seminorm_error_per_dof, "H1_seminorm_Error");
+ out.add_data_vector (h1_error_per_dof, "H1_Error");
out.write_ucd (o);
o.close ();
}
<< " Unconstrained matrix bandwidth= " << unconstrained_bandwidth << endl
<< " Constrained matrix bandwidth = " << sparsity.bandwidth()
<< endl << endl;
+
+ // release the lock that dof has to the
+ // finite element object
+ dof->clear ();
};
DataOut<dim> out;
fill_data (out);
- out.add_data_vector (l2_error_per_dof, "L2-Error");
- out.add_data_vector (linfty_error_per_dof, "Linfty-Error");
- out.add_data_vector (h1_error_per_dof, "H1-Error");
- out.add_data_vector (estimated_error_per_dof, "Estimated Error");
- out.add_data_vector (error_ratio, "Ratio True:Estimated Error");
+ out.add_data_vector (l2_error_per_dof, "L2_Error");
+ out.add_data_vector (linfty_error_per_dof, "Linfty_Error");
+ out.add_data_vector (h1_error_per_dof, "H1_Error");
+ out.add_data_vector (estimated_error_per_dof, "Estimated_Error");
+ out.add_data_vector (error_ratio, "Ratio_True_to_Estimated_Error");
string filename = prm.get ("Output base filename");
switch (refine_mode)
{
out.attach_dof_handler (*dof);
out.add_data_vector (solution, "u");
- out.add_data_vector (l1_error_per_dof, "L1-Error");
- out.add_data_vector (l2_error_per_dof, "L2-Error");
- out.add_data_vector (linfty_error_per_dof, "Linfty-Error");
- out.add_data_vector (h1_seminorm_error_per_dof, "H1-seminorm-Error");
- out.add_data_vector (h1_error_per_dof, "H1-Error");
+ out.add_data_vector (l1_error_per_dof, "L1_Error");
+ out.add_data_vector (l2_error_per_dof, "L2_Error");
+ out.add_data_vector (linfty_error_per_dof, "Linfty_Error");
+ out.add_data_vector (h1_seminorm_error_per_dof, "H1_seminorm_Error");
+ out.add_data_vector (h1_error_per_dof, "H1_Error");
out.write_ucd (o);
o.close ();
}