diff --git a/src/scf.cu b/src/scf.cu index 494993f..490416a 100644 --- a/src/scf.cu +++ b/src/scf.cu @@ -93,6 +93,10 @@ void etics::scf::scfclass::ReleaseGpuLock() { else GPU_LOCK_PANIC; } +int etics::scf::scfclass::GetNMAX() {return NMAX;} + +int etics::scf::scfclass::GetLMAX() {return LMAX;} + void etics::scf::scfclass::CalculateCoefficients(int n, int l) { int BaseAddress = n*(LMAX+1)*(LMAX+2)/2 + l*(l+1)/2; etics::scf::CalculateCoefficientsPartial<<>>(N, n, l, PartialSum); diff --git a/src/scf.hpp b/src/scf.hpp index 84fd5a9..5e6df8b 100644 --- a/src/scf.hpp +++ b/src/scf.hpp @@ -43,7 +43,6 @@ namespace etics { void GetCoefficients(Complex *A); void GetGpuLock(); void ReleaseGpuLock(); -//WARNING: the following two functions are not implemented but they should be int GetNMAX(); int GetLMAX(); //TODO We'll make them private in the final version, now we need access for debugging