29 template<
class Tvec,
class Tgr
idVec,
class Tmorton>
31 using Tscal = shambase::VecComponent<Tvec>;
33 using OrientedAMRGraph = OrientedAMRGraph<Tvec, TgridVec>;
35 template<
class AMRBlock>
41 BlockNeighToCellNeigh(
u32 block_nside_pow) : block_nside_pow(block_nside_pow) {}
51 inline void set_edges(
61 inline Edges get_edges() {
66 get_ro_edge<solvergraph::OrientedAMRGraphEdge<Tvec, TgridVec>>(3),
72 inline virtual std::string
_impl_get_label()
const {
return "BlockNeighToCellNeigh"; };
utility to manipulate AMR blocks
std::uint32_t u32
32 bit unsigned integer
virtual std::string _impl_get_tex() const
get the tex of the node
void _impl_evaluate_internal()
evaluate the node
virtual std::string _impl_get_label() const
get the label of the node
Interface for a solver graph edge representing a field as references to the underlying patch fields.
Inode is node between data edges, takes multiple inputs, multiple outputs.
T & get_rw_edge(int slot)
Get a read write edge and cast it to the type T.
void __internal_set_rw_edges(std::vector< std::shared_ptr< IEdge > > new_rw_edges)
Set the read write edges.
void __internal_set_ro_edges(std::vector< std::shared_ptr< IEdge > > new_ro_edges)
Set the read only edges.
const T & get_ro_edge(int slot)
Get a read only edge and cast it to the type T.
namespace for the basegodunov model modules