implemented GetNMAX and GetLMAX in etics::scf::scfclass
This commit is contained in:
parent
85076f9030
commit
b12ed61300
2 changed files with 4 additions and 1 deletions
|
|
@ -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<<<k3gs,k3bs,k3bs*sizeof(Complex)*(LMAX+1)>>>(N, n, l, PartialSum);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue