fun-lyp.c File Reference

Implementation of LYP functional and its derivatives. More...

#include <math.h>
#include <stddef.h>
#include "functionals.h"

Defines

#define _XOPEN_SOURCE   600
#define _XOPEN_SOURCE_EXTENDED   1
#define __CVERSION__

Functions

static int lyp_isgga (void)
static int lyp_read (const char *conf_line)
static real lyp_energy (const FunDensProp *dp)
 The LYP formulas are based on Miehlich et al.
static void lyp_first (FunFirstFuncDrv *ds, real fac, const FunDensProp *dp)
static void lyp_second (FunSecondFuncDrv *ds, real fac, const FunDensProp *dp)
static void lyp_third (FunThirdFuncDrv *ds, real fac, const FunDensProp *dp)
static void lyp_fourth (FunFourthFuncDrv *ds, real fac, const FunDensProp *dp)

Variables

Functional LYPFunctional


Detailed Description

Implementation of LYP functional and its derivatives.

(c) Pawel Salek, pawsa@theochem.kth.se, oct 2001 Z. Rinkevicius modification for open-shell, general 5 variables formalism.


Define Documentation

#define __CVERSION__

#define _XOPEN_SOURCE   600

#define _XOPEN_SOURCE_EXTENDED   1


Function Documentation

static real lyp_energy ( const FunDensProp dp  )  [static]

The LYP formulas are based on Miehlich et al.

article (CPL 157, p. 200, 1989). The implementation works also for unrestricted case (which is more important than you think).

static void lyp_first ( FunFirstFuncDrv ds,
real  fac,
const FunDensProp dp 
) [static]

static void lyp_fourth ( FunFourthFuncDrv ds,
real  fac,
const FunDensProp dp 
) [static]

static int lyp_isgga ( void   )  [static]

static int lyp_read ( const char *  conf_line  )  [static]

static void lyp_second ( FunSecondFuncDrv ds,
real  fac,
const FunDensProp dp 
) [static]

static void lyp_third ( FunThirdFuncDrv ds,
real  fac,
const FunDensProp dp 
) [static]


Variable Documentation

Functional LYPFunctional

Initial value:


Generated on Wed Nov 21 09:32:02 2012 for ergo by  doxygen 1.4.7