JDFTx  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
StaticLoopYlmTag< lm > Struct Template Reference

#include <SpeciesInfo_internal.h>

Detailed Description

template<int lm>
struct StaticLoopYlmTag< lm >

Perform the loop: for(lm=0; lm < Nlm; lm++) (f)(tag< lm >); at compile time using templates. Note with lm := l(l+1)+m to loop over spherical harmonics, Nlm = (lMax+1)^2. The functor f is templated over lm by using the tag class StaticLoopYlmTag< lm >.


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