#include <Field.h>
Public Member Functions | |
Field (bool isCompact=false) | |
virtual DataType | operator() (std::initializer_list< ArgumentType > argument) const =0 |
bool | getIsCompact () const |
virtual const std::vector< ArgumentType > & | getCoordinates () const |
virtual ArgumentType | getExtent () const |
TBTK::Field< DataType, ArgumentType >::Field | ( | bool | isCompact = false | ) |
Constructor.
|
virtual |
Get coordinates.
Reimplemented in TBTK::ParallelepipedArrayState.
|
virtual |
Get the radial extent of the field.
Reimplemented in TBTK::ParallelepipedArrayState.
bool TBTK::Field< DataType, ArgumentType >::getIsCompact | ( | ) | const |
Returns true if the field is compact. A field that is impact should override getCoordinates() and getExtent().
|
pure virtual |
Returns the value of the field at the position specified by the argument.
Implemented in TBTK::ParallelepipedArrayState, TBTK::ParametrizedLine, and TBTK::ParametrizedLine3d.