29 using Tscal = shambase::VecComponent<Tvec>;
30 using Tgridscal = shambase::VecComponent<TgridVec>;
41 : context(context), solver_config(solver_config), storage(storage) {}
53 std::string field_name, std::array<Tgridscal, dim> offset, std::string result_name);
57 std::array<Tgridscal, dim> offset,
58 std::string result_name);
72 void load_patch_internal_block(
73 std::array<Tgridscal, dim> offset,
91 void load_patch_neigh_same_level(
92 std::array<Tgridscal, dim> offset,
113 void load_patch_neigh_level_up(
114 std::array<Tgridscal, dim> offset,
135 void load_patch_neigh_level_down(
136 std::array<Tgridscal, dim> offset,
145 void load_patch_internal_block_xm(
148 void load_patch_internal_block_ym(
151 void load_patch_internal_block_zm(
154 void load_patch_internal_block_xp(
157 void load_patch_internal_block_yp(
160 void load_patch_internal_block_zp(
163 void load_patch_neigh_same_level_xm(
164 std::array<Tgridscal, dim> offset,
173 void load_patch_neigh_same_level_ym(
174 std::array<Tgridscal, dim> offset,
183 void load_patch_neigh_same_level_zm(
184 std::array<Tgridscal, dim> offset,
193 void load_patch_neigh_same_level_xp(
194 std::array<Tgridscal, dim> offset,
203 void load_patch_neigh_same_level_yp(
204 std::array<Tgridscal, dim> offset,
213 void load_patch_neigh_same_level_zp(
214 std::array<Tgridscal, dim> offset,
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...