From: hartmann Date: Fri, 24 Oct 2003 09:20:12 +0000 (+0000) Subject: SolutionTransfer::interpolate functions: Check for right sizes of in and output vectors. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67e7760b05b6178d975efbe5ec7075da8be5e034;p=dealii-svn.git SolutionTransfer::interpolate functions: Check for right sizes of in and output vectors. git-svn-id: https://svn.dealii.org/trunk@8154 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/news/c-4-0.html b/deal.II/doc/news/c-4-0.html index 9dfade80b8..dab27100c6 100644 --- a/deal.II/doc/news/c-4-0.html +++ b/deal.II/doc/news/c-4-0.html @@ -32,6 +32,25 @@ contributor's names are abbreviated by WB (Wolfgang Bangerth), GK

Incompatibilities

    +
  1. + Fixed and changed: The SolutionTransfer::(refine_)interpolate(const Vector &in, Vector + &out) functions now require the in and out + vectors being already of right sizes, + i.e. in.size()=n_dofs_old and + out.size()=n_dofs_refined. Furthermore, the SolutionTransfer::(refine_)interpolate(const + vector<Vector> &all_in, vector<Vector> + &all_out) now check that the number of in and output + vectors are the same, i.e. + all_in.size()=all_out.size(). +
    + (RH 2003/10/24) +

    +
  2. Changed: The QProjector has functions that project a lower-dimensional quadrature formula onto all faces or @@ -47,11 +66,12 @@ contributor's names are abbreviated by WB (Wolfgang Bangerth), GK include/numerics/dof_renumbering.h has been moved to the directory include/dofs, where it logically belongs. Furthermore, the sorting parameter of the function DoFRenumbering::component_wise has changed its meaning. See + class="class">DoFRenumbering::component_wise has changed its meaning. See the reference documentation for details.
    (GK 2003/07/03) +

@@ -257,16 +277,10 @@ contributor's names are abbreviated by WB (Wolfgang Bangerth), GK
  1. - New: There is now a function CellAccessor::neighbor_child_on_subface - Fixed: The SolutionTransfer::interpolate - function did not compute all output vectors if the number of - output vectors was different from the number of output - vectors. This was due to the fact that it stored the number of - output vectors before resizing that array. This is now fixed. + Changed: The SolutionTransfer::interpolate
    - (Brent Bailey, WB 2003/10/22) + (Brent Bailey, WB 2003/10/22 and RH 2003/10/24)