20 lines
958 B
C
20 lines
958 B
C
// SPDX-FileCopyrightText: 2026 Filip Leonarski, Paul Scherrer Institute <filip.leonarski@psi.ch>
|
|
// SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
#pragma once
|
|
|
|
#include "../common/CrystalLattice.h"
|
|
|
|
void LatticeToRodriguesAndLengths_GS(const CrystalLattice &latt, double rod[3], double lengths[3]);
|
|
void LatticeToRodriguesAndLengths_Hex(const CrystalLattice &latt, double rod[3], double ac[3]);
|
|
void LatticeToRodriguesLengthsBeta_Mono(const CrystalLattice &latt,
|
|
double rod[3],
|
|
double lengths[3],
|
|
double &beta_rad);
|
|
|
|
CrystalLattice AngleAxisAndCellToLattice(const double rod[3],
|
|
const double lengths[3],
|
|
double alpha_rad,
|
|
double beta_rad,
|
|
double gamma_rad);
|