3 #include <nlohmann/json_fwd.hpp> 10 struct Tensor :
public Eigen::Matrix3d
12 typedef Eigen::Matrix3d base;
20 Tensor(
double,
double,
double,
double,
double,
double);
24 [[maybe_unused]] [[maybe_unused]]
void eye();
27 Tensor(
const Eigen::MatrixBase<T>& other)
32 template <
typename T>
Tensor& operator=(
const Eigen::MatrixBase<T>& other)
34 base::operator=(other);
39 void to_json(nlohmann::json&,
const Tensor&);
40 void from_json(
const nlohmann::json&,
Tensor&);
Tensor class Tensor class.
Definition: tensor.h:10
void rotate(const base &)
Rotate using rotation matrix.
Definition: tensor.cpp:20
Cell list class templates.
Definition: actions.cpp:11
Tensor()
Constructor, clear data.
Definition: tensor.cpp:10