Forked from
Core Modules / dune-common
Source project has a limited visibility.
-
Steffen Müthing authored
The new YaspGrid constructors require an array with the number of cells in each direction. Unfortunately, there is no array constructor that takes a single element and copies it to all array elements. This patch adds a simple function Dune::fill_array() to do just that.
Steffen Müthing authoredThe new YaspGrid constructors require an array with the number of cells in each direction. Unfortunately, there is no array constructor that takes a single element and copies it to all array elements. This patch adds a simple function Dune::fill_array() to do just that.