Skip to content
Snippets Groups Projects
Commit 94b670e0 authored by Fanny CHOPOT's avatar Fanny CHOPOT
Browse files

Modifs des fichiers maillages par Stephane

parent a127bf5a
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,12 @@ public:
return m_connectivity.numberOfCells();
}
Kokkos::View<Rd*> xr() const
Kokkos::View<Rd*> xr()
{
return m_xr;
}
const Kokkos::View<const Rd*> xr() const
{
return m_xr;
}
......
......@@ -18,7 +18,7 @@ public:
static constexpr double inv_dimension = 1./dimension;
private:
const MeshType& m_mesh;
MeshType& m_mesh;
Kokkos::View<Rd**> m_Cjr;
Kokkos::View<Rd*> m_xj;
Kokkos::View<double*> m_Vj;
......@@ -80,6 +80,11 @@ private:
}
public:
MeshType& mesh()
{
return m_mesh;
}
const MeshType& mesh() const
{
return m_mesh;
......@@ -107,7 +112,7 @@ public:
this->_updateCjr();
}
MeshData(const MeshType& mesh)
MeshData(MeshType& mesh)
: m_mesh(mesh),
m_Cjr("Cjr", mesh.numberOfCells(), mesh.connectivity().maxNbNodePerCell()),
m_xj("xj", mesh.numberOfCells()),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment