File tree Expand file tree Collapse file tree 4 files changed +12
-4
lines changed
Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,9 @@ class Gaussian1D1POrbital: public WaveFunction{
8484 }
8585 }
8686
87+ double computeWFValue (const double * protovalues){
88+ return exp (0.5 *protovalues[0 ]);
89+ }
8790};
8891
8992
Original file line number Diff line number Diff line change @@ -81,10 +81,12 @@ void FFNNWaveFunction::computeAllDerivatives(const double *in){
8181 }
8282 }
8383 }
84-
8584}
8685
87-
86+ double FFNNWaveFunction::computeWFValue (const double * protovalues)
87+ {
88+ return sqrt (protovalues[0 ]);
89+ }
8890
8991
9092// -- Constructor and destructor
Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ class FFNNWaveFunction: public WaveFunction{
3838 // MCI acceptance starting from the new and old sampling functions
3939 double getAcceptance (const double * protoold, const double * protonew);
4040
41- // --- computation of the derivatives
41+ // --- computation of the derivatives / wf value
4242 void computeAllDerivatives (const double *in);
43-
43+ double computeWFValue ( const double * protovalues);
4444};
4545
4646
Original file line number Diff line number Diff line change @@ -129,6 +129,9 @@ class QuadrExponential1D1POrbital: public WaveFunction{
129129 }
130130 }
131131
132+ double computeWFValue (const double * protovalues){
133+ return exp (0.5 *protovalues[0 ]);
134+ }
132135};
133136
134137
You can’t perform that action at this time.
0 commit comments