inline
ReadWriteVector<Number>::~ReadWriteVector ()
{
- resize_val(0);
+ try
+ {
+ resize_val(0);
+ }
+ catch (...)
+ {}
}
template <int dim, int spacedim>
DataOutInterface<dim,spacedim>::DataOutInterface ()
- : default_subdivisions(1)
+ : default_subdivisions(1),
+ default_fmt(DataOutBase::default_format)
{}
x_source_fe.dofs_per_cell));
//Provide a short cut in case we are just inquiring the identity
- if (dynamic_cast<const FEQBUBBLES *>(&x_source_fe)->degree == this->degree)
+ auto casted_fe = dynamic_cast<const FEQBUBBLES *>(&x_source_fe);
+ if (casted_fe != nullptr && casted_fe->degree == this->degree)
for (unsigned int i=0; i<interpolation_matrix.m(); ++i)
interpolation_matrix.set(i,i,1.);
//else we need to do more...
dofs_per_cell (dofs_per_cell),
mapping(&mapping, typeid(*this).name()),
fe(&fe, typeid(*this).name()),
+ cell_similarity(CellSimilarity::Similarity::none),
fe_values_views_cache (*this)
{
Assert (n_q_points > 0,
(const FiniteElement<dim,spacedim> &fe,
const ComponentMask &mask)
:
+ unit_tangentials (),
n_shape_functions (fe.dofs_per_cell),
mask (mask),
local_dof_indices(fe.dofs_per_cell),
Triangulation<dim, spacedim>::~Triangulation ()
{
// notify listeners that the triangulation is going down...
- signals.clear();
+ try
+ {
+ signals.clear();
+ }
+ catch (...)
+ {}
levels.clear ();