source: src/Fragmentation/Automation/FragmentationResults.hpp@ 376a3b

Action_Thermostats Add_AtomRandomPerturbation Add_FitFragmentPartialChargesAction Add_RotateAroundBondAction Add_SelectAtomByNameAction Added_ParseSaveFragmentResults AddingActions_SaveParseParticleParameters Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_ParticleName_to_Atom Adding_StructOpt_integration_tests AtomFragments Automaking_mpqc_open AutomationFragmentation_failures Candidate_v1.5.4 Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator CombiningParticlePotentialParsing Combining_Subpackages Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_BoundInBox_CenterInBox_MoleculeActions Fix_ChargeSampling_PBC Fix_ChronosMutex Fix_FitPartialCharges Fix_FitPotential_needs_atomicnumbers Fix_ForceAnnealing Fix_IndependentFragmentGrids Fix_ParseParticles Fix_ParseParticles_split_forward_backward_Actions Fix_PopActions Fix_QtFragmentList_sorted_selection Fix_Restrictedkeyset_FragmentMolecule Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns Fix_fitting_potentials Fixes ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion FragmentAction_writes_AtomFragments FragmentMolecule_checks_bonddegrees GeometryObjects Gui_Fixes Gui_displays_atomic_force_velocity ImplicitCharges IndependentFragmentGrids IndependentFragmentGrids_IndividualZeroInstances IndependentFragmentGrids_IntegrationTest IndependentFragmentGrids_Sole_NN_Calculation JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix MoreRobust_FragmentAutomation ODR_violation_mpqc_open PartialCharges_OrthogonalSummation PdbParser_setsAtomName PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks Rewrite_FitPartialCharges RotateToPrincipalAxisSystem_UndoRedo SaturateAtoms_findBestMatching SaturateAtoms_singleDegree StoppableMakroAction Subpackage_CodePatterns Subpackage_JobMarket Subpackage_LinearAlgebra Subpackage_levmar Subpackage_mpqc_open Subpackage_vmg Switchable_LogView ThirdParty_MPQC_rebuilt_buildsystem TrajectoryDependenant_MaxOrder TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps TremoloParser_setsAtomName Ubuntu_1604_changes stable
Last change on this file since 376a3b was 376a3b, checked in by Frederik Heber <heber@…>, 12 years ago

Added FragmentationResults as a container to hold final fragmentation results.

  • Property mode set to 100644
File size: 2.5 KB
Line 
1/*
2 * FragmentationResults.hpp
3 *
4 * Created on: Aug 31, 2012
5 * Author: heber
6 */
7
8#ifndef FRAGMENTATIONRESULTS_HPP_
9#define FRAGMENTATIONRESULTS_HPP_
10
11
12// include config.h
13#ifdef HAVE_CONFIG_H
14#include <config.h>
15#endif
16
17#include <map>
18#include <string>
19#include <vector>
20
21#include "JobMarket/types.hpp"
22
23#include "Jobs/MPQCData.hpp"
24#include "Jobs/MPQCDataMap.hpp"
25#include "Jobs/VMGData.hpp"
26#include "Jobs/VMGDataMap.hpp"
27#include "Jobs/Grid/SamplingGrid.hpp"
28
29/** FragmentationResults contains the summed up results per level resulting
30 * from the fragmentation of the molecular system and clever combination of
31 * fragmentary energies, forces, timings, and so on.
32 *
33 * This structure is mostly a storage wherein the summed up results are
34 * contained for subsequent pretty printing and so on.
35 *
36 */
37struct FragmentationResults
38{
39 /** Constructor for class FragmentationResults.
40 *
41 * Performs the summation and fills all result vectors.
42 *
43 * @param fragmentData results from short-range fragment calculations
44 * @param longrangeData results from long-range fragment calculations
45 * @param fullsolutionData results from long-range full calculations
46 * @param KeySetFilename path to fragment files
47 * @param NoAtoms number of atoms of full system
48 * @param full_sample summed up grid charge
49 */
50 FragmentationResults(
51 const std::map<JobId_t,MPQCData> &fragmentData,
52 const std::map<JobId_t,VMGData> &longrangeData,
53 const std::vector<VMGData> &fullsolutionData,
54 const std::string &KeySetFilename,
55 const size_t NoAtoms,
56 const std::vector<SamplingGrid> &full_sample);
57
58 size_t getMaxLevel() const {
59 return MaxLevel;
60 }
61
62 //!> results per level of summed up energy
63 std::vector<MPQCDataEnergyMap_t> Result_Energy_fused;
64 //!> results per level of summed up sampled grid charge
65 std::vector<MPQCDataGridMap_t> Result_Grid_fused;
66 //!> results per level of summed up times
67 std::vector<MPQCDataTimeMap_t> Result_Time_fused;
68 //!> results per level of summed up fragment positions and charges
69 std::vector<MPQCDataFragmentMap_t> Result_Fragment_fused;
70 //!> results per level of summed up forces
71 std::vector<MPQCDataForceMap_t> Result_Force_fused;
72 //!> results per level of summed up long range potential grids and energy
73 std::vector<VMGDataMap_t> Result_LongRange_fused;
74 //!> results per level of summed up long range true energy
75 std::vector<VMGDataLongRangeMap_t> Result_LongRangeIntegrated_fused;
76
77private:
78 //!> maximum level of summation
79 size_t MaxLevel;
80};
81
82
83#endif /* FRAGMENTATIONRESULTS_HPP_ */
Note: See TracBrowser for help on using the repository browser.