25#ifndef __SYMMETRIZE_FIELD4D_HPP__
26#define __SYMMETRIZE_FIELD4D_HPP__
35symmetrize_field4d(Field4D& f__)
37 auto& ctx = f__.ctx();
40 if (ctx.unit_cell().symmetry().size() == 1) {
46 ctx.num_mag_dims(), f__.pw_components());
48 if (ctx.full_potential()) {
49 symmetrize_mt_function(ctx.unit_cell().symmetry(), ctx.comm(), ctx.num_mag_dims(), f__.mt_components());
Base class for sirius::Density and sirius::Potential.
Namespace of the SIRIUS library.
void symmetrize_pw_function(Crystal_symmetry const &sym__, fft::Gvec_shells const &gvec_shells__, sddk::mdarray< std::complex< double >, 3 > const &sym_phase_factors__, int num_mag_dims__, std::vector< Smooth_periodic_function< double > * > frg__)
Symmetrize scalar or vector function.
Symmetrize muffin-tin spheric functions.
Symmetrize plane-wave coefficients of regular-grid function.