PRISMS-PF Manual
Loading...
Searching...
No Matches
crystal_symmetry.h File Reference
#include <deal.II/base/vectorization.h>
#include <prismspf/utilities/vectorized_operations.h>
#include <prismspf/config.h>
Include dependency graph for crystal_symmetry.h:

Go to the source code of this file.

Namespaces

namespace  Symmetries
 

Functions

template<unsigned int N, typename T>
DEAL_II_ALWAYS_INLINE T Symmetries::cos_arctan (const T &x) noexcept
 Compute cos(N * arctan(x)).
 
template<unsigned int N, typename T>
DEAL_II_ALWAYS_INLINE T Symmetries::sin_arctan (const T &x) noexcept
 Compute sin(N * arctan(x)).
 
template<unsigned int N, typename T>
DEAL_II_ALWAYS_INLINE T Symmetries::cos_theta (const T &nx, const T &ny) noexcept
 Compute cos(N * theta) where theta = arctan(ny/nx).
 
template<unsigned int N, typename T>
DEAL_II_ALWAYS_INLINE T Symmetries::sin_theta (const T &nx, const T &ny) noexcept
 Compute sin(N * theta) where theta = arctan(ny/nx).
 
template<unsigned int N, typename T>
DEAL_II_ALWAYS_INLINE T Symmetries::cos_psi (const T &nx, const T &ny, const T &nz) noexcept
 Compute cos(N * psi) where theta = arctan(sqrt(nx^2+ny^2)/ny).
 
template<unsigned int N, typename T>
DEAL_II_ALWAYS_INLINE T Symmetries::sin_psi (const T &nx, const T &ny, const T &nz) noexcept
 Compute sin(N * psi) where theta = arctan(sqrt(nx^2+ny^2)/ny).