bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
Loading...
Searching...
No Matches
node.h
Go to the documentation of this file.
1#ifndef NODE_H
2#define NODE_H
3
4#include "bitrl/bitrl_types.h"
7
8#include <any>
9#include <array>
10
11namespace bitrl
12{
13namespace utils
14{
15namespace geom
16{
17
23template <int dim> class Node : public FaceElement<dim, 0>
24{
25
26 public:
30 Node();
31
35 Node(real_t coord, uint_t id, const std::any &data);
36
40 Node(const std::array<real_t, dim> &coords, uint_t id, const std::any &data);
41
45 Node(const GeomPoint<dim> &point, uint_t global_id, uint_t pid, const std::any &data);
46
51};
52
53} // namespace geom
54} // namespace utils
55} // namespace bitrl
56
57#endif // NODE_H
Definition edge_face_selector.h:12
A class that describes a point with spacedim spatial dimension space.
Definition geom_point.h:22
Wraps the notion of a node. A node is simply a point in dim-space that can hold dofs.
Definition node.h:24
Node()
Constructor.
Definition node.cpp:11
OutT resolve(const std::string &name, const std::map< std::string, std::any > &input)
Definition std_map_utils.h:25
Definition bitrl_consts.h:14
double real_t
real_t
Definition bitrl_types.h:23
std::size_t uint_t
uint_t
Definition bitrl_types.h:43