~ubuntu-branches/ubuntu/trusty/nwchem/trusty-proposed

« back to all changes in this revision

Viewing changes to src/tools/ga-5-2/gfutex/examples/scf/cscc.h

  • Committer: Package Import Robot
  • Author(s): Michael Banck, Daniel Leidert, Andreas Tille, Michael Banck
  • Date: 2013-07-04 12:14:55 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130704121455-5tvsx2qabor3nrui
Tags: 6.3-1
* New upstream release.
* Fixes anisotropic properties (Closes: #696361).
* New features include:
  + Multi-reference coupled cluster (MRCC) approaches
  + Hybrid DFT calculations with short-range HF 
  + New density-functionals including Minnesota (M08, M11) and HSE hybrid
    functionals
  + X-ray absorption spectroscopy (XAS) with TDDFT
  + Analytical gradients for the COSMO solvation model
  + Transition densities from TDDFT 
  + DFT+U and Electron-Transfer (ET) methods for plane wave calculations
  + Exploitation of space group symmetry in plane wave geometry optimizations
  + Local density of states (LDOS) collective variable added to Metadynamics
  + Various new XC functionals added for plane wave calculations, including
    hybrid and range-corrected ones
  + Electric field gradients with relativistic corrections 
  + Nudged Elastic Band optimization method
  + Updated basis sets and ECPs 

[ Daniel Leidert ]
* debian/watch: Fixed.

[ Andreas Tille ]
* debian/upstream: References

[ Michael Banck ]
* debian/upstream (Name): New field.
* debian/patches/02_makefile_flags.patch: Refreshed.
* debian/patches/06_statfs_kfreebsd.patch: Likewise.
* debian/patches/07_ga_target_force_linux.patch: Likewise.
* debian/patches/05_avoid_inline_assembler.patch: Removed, no longer needed.
* debian/patches/09_backported_6.1.1_fixes.patch: Likewise.
* debian/control (Build-Depends): Added gfortran-4.7 and gcc-4.7.
* debian/patches/10_force_gcc-4.7.patch: New patch, explicitly sets
  gfortran-4.7 and gcc-4.7, fixes test suite hang with gcc-4.8 (Closes:
  #701328, #713262).
* debian/testsuite: Added tests for COSMO analytical gradients and MRCC.
* debian/rules (MRCC_METHODS): New variable, required to enable MRCC methods.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __CSCC_H
 
2
#define __CSCC_H
 
3
 
 
4
#include <mpi.h>
 
5
 
 
6
#ifdef __cplusplus
 
7
extern "C" {
 
8
#endif
 
9
 
 
10
#define maxatom 384
 
11
#define maxnbfn 15 * maxatom
 
12
#define mxiter 30
 
13
#define maxnnbfn maxnbfn * (maxnbfn + 1) / 2
 
14
#define pi 3.141592653589793
 
15
#define tol 0.006
 
16
#define tol2e 0.000001
 
17
 
 
18
//#define MAX(a,b) GA_MAX(a,b)
 
19
//#define MIN(a,b) GA_MIN(a,b)
 
20
 
 
21
#define MAX(a,b) (((a) >= (b)) ? (a) : (b))
 
22
#define MIN(a,b) (((a) <= (b)) ? (a) : (b))
 
23
 
 
24
extern double enrep, q[maxatom], ax[maxatom], ay[maxatom], az[maxatom],
 
25
  x[maxnbfn], y[maxnbfn], z[maxnbfn], expnt[maxnbfn], rnorm[maxnbfn];
 
26
extern long long int iky[maxnbfn], nocc, nbfn, nnbfn;
 
27
extern long long int icut1,icut2,icut3,icut4; 
 
28
extern int natom; //long long int --> long 
 
29
 
 
30
#define ichunk 40
 
31
 
 
32
extern double eigv[maxnbfn];
 
33
extern int g_counter, g_dens, g_fock, g_tfock, g_schwarz, g_work, g_ident, g_orbs;
 
34
extern int g_tmp, g_proc; //temporay global array for storage major transformation
 
35
 
 
36
#ifdef __cplusplus
 
37
}
 
38
#endif
 
39
 
 
40
#endif /* __CSCC_H */