Commit 16f0a83a by Francois Gygi

new syntax for vcontext.


git-svn-id: http://qboxcode.org/svn/qb/trunk@296 cba15fb0-1239-40c8-b417-11db7ca47a34
parent 942970fc
......@@ -3,7 +3,7 @@
// XCPotential.C
//
////////////////////////////////////////////////////////////////////////////////
// $Id: XCPotential.C,v 1.5 2004-09-14 22:24:11 fgygi Exp $
// $Id: XCPotential.C,v 1.6 2004-11-10 22:43:04 fgygi Exp $
#include "XCPotential.h"
#include "Basis.h"
......@@ -14,7 +14,7 @@ using namespace std;
////////////////////////////////////////////////////////////////////////////////
XCPotential::XCPotential(const ChargeDensity& cd, const string functional_name):
cd_(cd), ctxt_(*cd.vcontext()), vft_(*cd_.vft()), vbasis_(*cd_.vbasis())
cd_(cd), ctxt_(cd.vcontext()), vft_(*cd_.vft()), vbasis_(*cd_.vbasis())
{
if ( functional_name == "LDA" )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment