#include <SpeciesInfo_internal.h>
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 >.