Loading...
Searching...
No Matches
q3::PreconditionerEnvironment Struct Reference

Everything any preconditioner needs from the surrounding representation. More...

#include <factory.hpp>

Public Attributes

int first_nonzero_g_index = 0
 
std::vector< Real > g_squared
 |G|² per G-vector, in bohr⁻².
 
std::function< void(std::vector< Real > &)> global_reduce
 Sums real-space integrals over the ranks sharing this pool's grid.
 
Real q0_squared = 1.0
 Screening wavevector squared / vacuum floor, in bohr⁻².
 
std::function< void(const std::vector< Complex > &, std::vector< Real > &)> to_real_space
 
std::function< void(const std::vector< Real > &, std::vector< Complex > &)> to_reciprocal_space
 

Detailed Description

Everything any preconditioner needs from the surrounding representation.

Definition at line 31 of file factory.hpp.

Member Data Documentation

◆ first_nonzero_g_index

int q3::PreconditionerEnvironment::first_nonzero_g_index = 0

◆ g_squared

std::vector<Real> q3::PreconditionerEnvironment::g_squared

|G|² per G-vector, in bohr⁻².

Definition at line 32 of file factory.hpp.

Referenced by q3::PreconditionerFactory::create(), and q3::PlanewaveKohnShamSCFIterator::initiate_mixer().

◆ global_reduce

std::function<void(std::vector<Real>&)> q3::PreconditionerEnvironment::global_reduce

Sums real-space integrals over the ranks sharing this pool's grid.

Definition at line 38 of file factory.hpp.

Referenced by q3::PreconditionerFactory::create(), and q3::PlanewaveKohnShamSCFIterator::initiate_mixer().

◆ q0_squared

Real q3::PreconditionerEnvironment::q0_squared = 1.0

Screening wavevector squared / vacuum floor, in bohr⁻².

Definition at line 33 of file factory.hpp.

Referenced by q3::PreconditionerFactory::create(), and q3::PlanewaveKohnShamSCFIterator::initiate_mixer().

◆ to_real_space

std::function<void(const std::vector<Complex>&, std::vector<Real>&)> q3::PreconditionerEnvironment::to_real_space

◆ to_reciprocal_space

std::function<void(const std::vector<Real>&, std::vector<Complex>&)> q3::PreconditionerEnvironment::to_reciprocal_space

The documentation for this struct was generated from the following file: