29 template<
class Tgr
idVec>
33#define NODE_ComputeLevel0CellSize_EDGES(X_RO, X_RW) \
35 X_RO(shamrock::solvergraph::ScalarsEdge<shammath::AABB<TgridVec>>, patch_boxes) \
36 X_RO(shamrock::solvergraph::IPatchDataLayerRefs, refs) \
38 X_RW(shamrock::solvergraph::ScalarsEdge<TgridVec>, level0_size)
40 EXPAND_NODE_EDGES(NODE_ComputeLevel0CellSize_EDGES)
41#undef NODE_ComputeLevel0CellSize_EDGES
44 auto edges = get_edges();
45 edges.level0_size.values = edges.refs.get_const_refs().template map<TgridVec>(
48 return patch_box.
delt();
52 inline virtual std::string
_impl_get_label()
const {
return "ComputeLevel0CellSize"; };
54 virtual std::string
_impl_get_tex()
const {
return "ComputeLevel0CellSize"; };
Defines the PatchDataLayerRefs class for managing distributed references to patch data layers.
std::uint64_t u64
64 bit unsigned integer
virtual std::string _impl_get_tex() const
get the tex of the node
virtual std::string _impl_get_label() const
get the label of the node
void _impl_evaluate_internal()
evaluate the node
PatchDataLayer container class, the layout is described in patchdata_layout.
Inode is node between data edges, takes multiple inputs, multiple outputs.
namespace for the basegodunov model modules
Axis-Aligned bounding box.
T delt() const
Returns the delta of the AABB.