Skip to content
Snippets Groups Projects
Commit 3670e02d authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Begining of Boundary definition

parent 27b9d391
No related branches found
No related tags found
No related merge requests found
#ifndef BOUNDARY_HPP
#define BOUNDARY_HPP
#include <Kokkos_Core.hpp>
#include <RefId.hpp>
class Boundary
{
private:
RefId m_ref_id;
Kokkos::View<unsigned int*> m_face_list;
Kokkos::View<unsigned int*> m_node_list;
public:
const RefId& refId() const
{
return m_ref_id;
}
const Kokkos::View<const unsigned int*> faceList() const
{
return m_face_list;
}
const Kokkos::View<const unsigned int*> nodeList() const
{
return m_node_list;
}
Boundary(const RefId& ref_id,
Kokkos::View<unsigned int*> face_list)
: m_ref_id(ref_id),
m_face_list(face_list)
{
;
}
~Boundary()
{
;
}
};
#endif // BOUNDARY_HPP
......@@ -4,6 +4,8 @@
#include <vector>
#include <memory>
#include <Kokkos_Core.hpp>
class BoundaryCondition
{
public:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment