]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix markup. 17934/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 18 Dec 2024 01:17:00 +0000 (18:17 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 18 Dec 2024 01:17:00 +0000 (18:17 -0700)
include/deal.II/grid/grid_in.h

index 1a0fb9dc614d008f7742a4df1d91e31f33d256b0..98c8a80ff3ce45de4166de45fd335343e98b1a23 100644 (file)
@@ -780,11 +780,11 @@ public:
    * - Vector<double> stores value for the given identifier in each cell.
    * To access the value, use cell_data[name_field][cell->active_cell_index()].
    *
-   * For example, if the vtk mesh contains field data 'Density' defined at the
-   * cells, cell_data['Density'][0] would be the density defined at cell ID '0',
-   * which corresponds to index 0 of the vector. The length of the vector in
-   * cell_data['Density'] would equal the number of elements in the coarse
-   * mesh.
+   * For example, if the vtk mesh contains field data "Density" defined on
+   * cells, then `cell_data["Density"][0]` provides the density defined at cell
+   * ID '0', which corresponds to index 0 of the vector. The length of the
+   * vector in `cell_data["Density"]` equals the number of elements in the
+   * coarse mesh.
    */
   const std::map<std::string, Vector<double>> &
   get_cell_data() const;

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.