31 std::map<std::string, Assembler::ParamFunc> res;
33 const auto &fiber_direction = this->fiber_direction_;
35 res[
"fiber_direction_x"] = [&fiber_direction](
const RowVectorNd &,
const RowVectorNd &p,
double t,
int e) {
36 Eigen::Vector3d tmp = fiber_direction(p, p, t, e);
40 res[
"fiber_direction_y"] = [&fiber_direction](
const RowVectorNd &,
const RowVectorNd &p,
double t,
int e) {
41 Eigen::Vector3d tmp = fiber_direction(p, p, t, e);
45 if (this->size() == 3)
47 res[
"fiber_direction_z"] = [&fiber_direction](
const RowVectorNd &,
const RowVectorNd &p,
double t,
int e) {
48 Eigen::Vector3d tmp = fiber_direction(p, p, t, e);