41 using Tscal = shambase::VecComponent<Tvec>;
42 using Tgridscal = shambase::VecComponent<TgridVec>;
43 static constexpr u32 dim = shambase::VectorProperties<Tvec>::dimension;
49 Config &solver_config;
52 FaceFlagger(
ShamrockCtx &context, Config &solver_config, Storage &storage)
53 : context(context), solver_config(solver_config), storage(storage) {}
61 static constexpr u8 max_lookup = 5;
63 inline static Tvec lookup_to_normal(
u8 lookup) {
64 return std::array<Tvec, 6>{
75 void split_face_list();
77 void compute_neigh_ids();
82 sycl::buffer<u8> &face_normals_lookup,
T & get_check_ref(const std::unique_ptr< T > &ptr, SourceLocation loc=SourceLocation())
Takes a std::unique_ptr and returns a reference to the object it holds. It throws a std::runtime_erro...