]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fixed usage in the documentation of mapping_fe_field.h 772/head
authorMarco Tezzele <marcotez@gmail.com>
Mon, 13 Apr 2015 13:12:18 +0000 (15:12 +0200)
committerLuca Heltai <luca.heltai@sissa.it>
Thu, 16 Apr 2015 14:20:13 +0000 (16:20 +0200)
include/deal.II/fe/mapping_fe_field.h

index 108565b16d4d2f43befb1a0e132fce29f99720c1..8d9666c26c8eb680d9d278570532492c81bc82e9 100644 (file)
@@ -60,10 +60,10 @@ DEAL_II_NAMESPACE_OPEN
  *    const FESystem<dim,spacedim> fesystem(feq, spacedim);
  *    DoFHandler<dim,spacedim> dhq(triangulation);
  *    dhq.distribute_dofs(fesystem);
+ *    const ComponentMask mask(spacedim, true);
  *    Vector<double> eulerq(dhq.n_dofs());
  *    // Fills the euler vector with information from the Triangulation
- *    VectorTools::get_position_vector(dhq, eulerq);
- *    const ComponentMask mask(spacedim, true);
+ *    VectorTools::get_position_vector(dhq, eulerq, mask);
  *    MappingFEField<dim,spacedim> map(eulerq, dhq, mask);
  * @endcode
  *

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.