Assert(in.size()==n_dofs_old, ExcWrongVectorSize(in.size(),n_dofs_old));
Assert(out.size()==dof_handler->n_dofs(),
ExcWrongVectorSize(out.size(),dof_handler->n_dofs()));
+ Assert(&in != &out,
+ ExcMessage ("Vectors cannot be used as input and output"
+ " at the same time!"));
unsigned int dofs_per_cell=dof_handler->get_fe().dofs_per_cell;
Vector<number> local_values(dofs_per_cell);
for (unsigned int i=0; i<all_in.size(); ++i)
Assert (all_in[i].size() == n_dofs_old,
ExcWrongVectorSize(all_in[i].size(), n_dofs_old));
-
+
+
unsigned int out_size=all_out.size();
// resize the output vector
all_out[i].reinit (dof_handler->n_dofs());
};
+ for (unsigned int i=0; i<all_in.size(); ++i)
+ for (unsigned int j=0; j<all_in.size(); ++j)
+ Assert(&all_in[i] != &all_out[j],
+ ExcMessage ("Vectors cannot be used as input and output"
+ " at the same time!"));
const unsigned int dofs_per_cell=dof_handler->get_fe().dofs_per_cell;
Vector<number> local_values(dofs_per_cell);
</p>
<li> <p>
- Improved: make knows a target <tt>veryclean</tt>
- now. <tt>clean</tt> leaves the libraries now, removing
+ New: The top-level makefile now how a target <tt>distclean</tt>.
+ <tt>clean</tt> leaves the libraries now, removing
everything that is not needed to use
- <acronym>deal.II</acronym>. <tt>veryclean</tt> removes even the
+ <acronym>deal.II</acronym>. <tt>distclean</tt> removes even the
libraries, leaving the directory more or less in the state like
after <tt>configure</tt>.
<br>
<h3>deal.II</h3>
<ol>
+ <li> <p>
+ Fixed: Vectors could not be given as input and output vectors to the
+ <code class="class">SolutionTransfer</code> class at the same time, but
+ this was not checked. An assertion has now been added to ensure this
+ requirement.
+ <br>
+ (WB 2002/10/28)
+ </p>
+
<li> <p>
Fixed: The <code
class="member">DoFRenumbering::component_wise</code> function accepts a