7 namespace wavepackets {
72 virtual int limit(
int const* base_node,
dim_t axis)
const = 0;
79 virtual void print(std::ostream & out)
const = 0;
83 std::ostream & operator<<(std::ostream & out, AbstractShape<D>
const& shape)
virtual ~AbstractShape()
Definition: shape_base.hpp:37
Definition: coefficients_file_parser.cpp:10
virtual int bbox(dim_t axis) const =0
Retrieves the length of the minimum bounding box in one direction.
virtual int limit(int const *base_node, dim_t axis) const =0
Evaluates one surface function on a base node.
Subclasses provide a description of a basis shape.
Definition: shape_base.hpp:34
int dim_t
Definition: types.hpp:16
virtual void print(std::ostream &out) const =0
Prints a pretty description of the shape.