使用真实距离来计算画图时的 x 轴坐标

fix y_ticks
This commit is contained in:
2023-10-07 20:18:19 +08:00
parent ff3b69fede
commit e740ef87cb
2 changed files with 11 additions and 4 deletions

View File

@@ -46,6 +46,7 @@ namespace ufo
// 根据搜索到的 q 点, 计算每个点的数值
static std::tuple<std::vector<std::vector<double>>, std::vector<double>> calculate_values
(
const Eigen::Matrix3d primative_cell,
const std::vector<std::pair<Eigen::Vector3d, Eigen::Vector3d>>& path,
const std::vector<std::vector<std::reference_wrapper<const UnfoldSolver::OutputType::QpointDataType>>>& qpoints,
const decltype(InputType::FigureConfigType::Resolution)& resolution,