31 using Tscal = shambase::VecComponent<Tvec>;
42 : context(context), solver_config(solver_config), storage(storage) {}
54 std::string field_name,
const std::vector<Tvec> &positions) {
56 positions.size(), shamsys::instance::get_compute_scheduler_ptr()};
57 positions_buf.copy_from_stdvec(positions);
58 return compute_slice(field_name, positions_buf);
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...