From: bangerth Changed: When there is still a base
+
SmartPointer
object
+ pointing to another object at the time it is destroyed, this would cause
+ the program to be aborted. However, there are cases where this is not
+ desirable, for example here:
+
+
+ When the exception is thrown but not caught, the two local objects are
+ destroyed in reverse order of their construction, i.e. first the pointer
+ then the triangulation. However, only the pointer, not the
+
+ void f()
+ {
+ Triangulation tria;
+ DoFHandler *dh = new DoFHandler(tria);
+ ...some function that throws an exception
+ }
+
+ DoFHandler
pointed to is destroyed, triggering the abort in
+ the triangulation since there is still the DoFHandler
+ object pointing to it at the time of destruction of the
+ triangulation. In such cases, one would not want to see the program
+ aborted, since then one would never learn about the actual exception
+ being thrown.
+
+ The behavior of the Subscriptor
class as therefore been
+ changed to not abort the program any more if an exception is being
+ handled at the moment. Rather, only an error message is shown on
+ std::cerr
.
+
+ (WB 2006/08/01)
+
Fixed: The TableHandler::write_tex
accidentally took a parameter of type
std::ofstream
instead of std::ostream
@@ -352,31 +384,32 @@ inconvenience this causes.
(WB 2006/07/28)
New: GeometryInfo
offers several new functions,
- is_inside_unit_cell
with an epsilon parameter to specify allowable
- offsets from the actual unit cell, distance_to_unit_cell
returning the
- infinity norm of the distance of a given point to the unit cell, and
- project_to_unit_cell
returning the projection of a point onto the unit
- cell. Also, a new member vertex_to_face
allow to determine to which
- faces of a cell a vertex belongs.
-
- (Ralf B. Schulz 2006/05/10)
-
New: GeometryInfo
offers several new
+ functions, is_inside_unit_cell
with an epsilon parameter to
+ specify allowable offsets from the actual unit cell,
+ distance_to_unit_cell
returning the infinity norm of the
+ distance of a given point to the unit cell, and
+ project_to_unit_cell
returning the projection of a point
+ onto the unit cell. Also, a new member vertex_to_face
allow
+ to determine to which faces of a cell a vertex belongs.
+
+ (Ralf B. Schulz 2006/05/10)
+
Improved: DataOutBase
::OutputFormat
has a new value none, writing no
- output at all. This way, the writing of output files can be controlled more
- easily from parameter files.
-
- (GK 2006/04/14)
-
Improved: VectorSlice
has new functions
- begin()
and end()
,
- returning the corresponding vector iterators.
-
- (GK 2006/03/31)
-
begin()
and end()
,
+ returning the corresponding vector iterators.
+ New: The various tensor classes can now effectively be reset to zero
by simply writing t=0;
as has long been allowed for