Indeed, there is no need to change anything in alps/scheduler . Just add your extra observables to measurements i9n the style of the others.
Matthias
On 27 Jun 2011, at 19:30, Brains Chen wrote:
Thanks. It sounds that I don't need to change anything in the alps/scheduler/.
KS Chen
On Mon, Jun 27, 2011 at 7:13 PM, Emanuel Gull gull@itp.phys.ethz.ch wrote: Hi Kuang-Shing Chen,
the line you quote is in a class HybridizationRun, which is derived from alps::scheduler::MCRun.
MCRun contains the ObservableSet measurements (see montecarlo.h in src/alps/scheduler)
Emanuel
On Jun 27, 2011, at 12:48 PM, Brains Chen wrote:
Dear all,
I want to modify the measurement in the hybridization expansion of dmft and I looked through the source code in alps/applications/dmft/qmc and its two subdirectories hybridization/ and interaction_expansion/. In the hybridization/impurity.h, a paragraph of codes looks
// create measurement objects measurements << RealVectorObservable("n"); measurements << RealVectorObservable("order"); measurements << vec_obs_t("Greens"); measurements << vec_obs_t("Greens_4point"); measurements << vec_obs_t("Greens_4point_ud"); measurements << RealObservable("sign"); measurements << RealObservable("MatrixSize");
measurements << RealVectorObservable("overlap");
Where is the 'measurements' defined?
-- Kuang-Shing Chen
-- Kuang-Shing Chen