Template Function pcms::CreateUniformGridBinaryField(Omega_h::Mesh&, const std::array<LO, Dim>&)

Function Documentation

template<unsigned Dim>
std::pair<std::shared_ptr<const UniformGridFieldLayout<Dim>>, Field<Real>> pcms::CreateUniformGridBinaryField(Omega_h::Mesh &mesh, const std::array<LO, Dim> &divisions)

Convenience overload: derives the grid from the mesh bounding box.