schnellerhase / dolfinx

Next generation FEniCS problem solving environment
https://fenicsproject.org
GNU Lesser General Public License v3.0
0 stars 0 forks source link

template deduction `create_rectangle` #15

Open schnellerhase opened 5 days ago

schnellerhase commented 5 days ago

Currently the interface of create_rectangle and most likely create_interval and create_box as well, does not work with auto template deduction, i.e. instead of

std::make_shared(mesh::create_rectangle<U>(...))

it is necessary to specify

std::make_shared<mesh::Mesh<U>>(mesh::create_rectangle<U>(...))