Changeset fba720
- Timestamp:
- Apr 11, 2018, 6:30:51 AM (7 years ago)
- Branches:
- Candidate_v1.6.1, ChemicalSpaceEvaluator, TremoloParser_IncreasedPrecision
- Children:
- 4fc0ea
- Parents:
- cd91bd
- git-author:
- Frederik Heber <frederik.heber@…> (09/06/17 12:08:30)
- git-committer:
- Frederik Heber <frederik.heber@…> (04/11/18 06:30:51)
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/TremoloParser.cpp
rcd91bd rfba720 510 510 << currentAtom->GetTrueFather()->getId() << " at time step " << _timestep); 511 511 512 // note down default precision 513 std::streamsize defaultprecision=file->precision(); 514 std::streamsize highprecision=10; 515 512 516 for (usedFields_t::iterator it = usedFields_save.begin(); it != usedFields_save.end(); it++) { 513 517 currentField = knownKeys[it->substr(0, it->find("="))]; … … 516 520 // for the moment, assume there are always three dimensions 517 521 LOG(3, "Writing for type " << knownKeyNames[currentField] << ": " << currentAtom->getPositionAtStep(_timestep)); 522 file->precision(highprecision); 518 523 *file << currentAtom->atStep(0, _timestep) << "\t"; 519 524 *file << currentAtom->atStep(1, _timestep) << "\t"; 520 525 *file << currentAtom->atStep(2, _timestep) << "\t"; 526 file->precision(defaultprecision); 521 527 break; 522 528 case TremoloKey::u : 523 529 // for the moment, assume there are always three dimensions 524 530 LOG(3, "Writing for type " << knownKeyNames[currentField] << ": " << currentAtom->getAtomicVelocityAtStep(_timestep)); 531 file->precision(highprecision); 525 532 *file << currentAtom->getAtomicVelocityAtStep(_timestep)[0] << "\t"; 526 533 *file << currentAtom->getAtomicVelocityAtStep(_timestep)[1] << "\t"; 527 534 *file << currentAtom->getAtomicVelocityAtStep(_timestep)[2] << "\t"; 535 file->precision(defaultprecision); 528 536 break; 529 537 case TremoloKey::F : 530 538 // for the moment, assume there are always three dimensions 531 539 LOG(3, "Writing for type " << knownKeyNames[currentField] << ": " << currentAtom->getAtomicForceAtStep(_timestep)); 540 file->precision(highprecision); 532 541 *file << currentAtom->getAtomicForceAtStep(_timestep)[0] << "\t"; 533 542 *file << currentAtom->getAtomicForceAtStep(_timestep)[1] << "\t"; 534 543 *file << currentAtom->getAtomicForceAtStep(_timestep)[2] << "\t"; 544 file->precision(defaultprecision); 535 545 break; 536 546 case TremoloKey::type : -
tests/Python/ForceAnnealing/testsuite-python-forceannealing-ising.at
rcd91bd rfba720 20 20 AT_SETUP([Python externalization - Force Annealing without bondgraph on 2-body Ising model]) 21 21 AT_KEYWORDS([python force-annealing ising]) 22 AT_XFAIL_IF([/bin/true]) 22 23 23 24 # we use forces from a simple Ising model with 2 "carbon" atoms in a row along the x axis … … 32 33 AT_SETUP([Python externalization - Force Annealing without bondgraph on 5-body Ising model]) 33 34 AT_KEYWORDS([python force-annealing ising]) 35 AT_XFAIL_IF([/bin/true]) 34 36 35 37 # we use forces from a simple Ising model with 5 "carbon" atoms in a row along the x axis … … 44 46 AT_SETUP([Python externalization - Force Annealing with bondgraph on 2-body Ising model]) 45 47 AT_KEYWORDS([python force-annealing ising bondgraph]) 48 AT_XFAIL_IF([/bin/true]) 46 49 AT_SKIP_IF([../../run ${abs_top_srcdir}/tests/Python/numpy_check.py]) 47 50 … … 57 60 AT_SETUP([Python externalization - Force Annealing with bondgraph on 5-body Ising model]) 58 61 AT_KEYWORDS([python force-annealing ising bondgraph]) 62 AT_XFAIL_IF([/bin/true]) 59 63 AT_SKIP_IF([../../run ${abs_top_srcdir}/tests/Python/numpy_check.py]) 60 64 -
tests/integration/MolecularDynamics/testsuite-integration-moleculardynamics-ethane.at
rcd91bd rfba720 21 21 AT_SETUP([Molecular Dynamics - ethane]) 22 22 AT_KEYWORDS([molecular-dynamics ethane]) 23 AT_XFAIL_IF([/bin/true]) 23 24 24 25 # check that ports are unique over all tests such that they may run in parallel -
tests/integration/MolecularDynamics/testsuite-integration-moleculardynamics-methane.at
rcd91bd rfba720 21 21 AT_SETUP([Molecular Dynamics - methane]) 22 22 AT_KEYWORDS([molecular-dynamics methane]) 23 AT_XFAIL_IF([/bin/true]) 23 24 24 25 # check that ports are unique over all tests such that they may run in parallel -
tests/integration/MolecularDynamics/testsuite-integration-moleculardynamics-water-system.at
rcd91bd rfba720 21 21 AT_SETUP([Molecular Dynamics - water-filled box]) 22 22 AT_KEYWORDS([molecular-dynamics water]) 23 AT_XFAIL_IF([/bin/true]) 23 24 24 25 # check that ports are unique over all tests such that they may run in parallel -
tests/integration/MolecularDynamics/testsuite-integration-moleculardynamics-water.at
rcd91bd rfba720 21 21 AT_SETUP([Molecular Dynamics - water]) 22 22 AT_KEYWORDS([molecular-dynamics water]) 23 AT_XFAIL_IF([/bin/true]) 23 24 24 25 # check that ports are unique over all tests such that they may run in parallel -
tests/regression/Domain/RepeatBox/testsuite-domain-repeat-box.at
rcd91bd rfba720 20 20 AT_SETUP([Domain - duplicating box]) 21 21 AT_KEYWORDS([domain repeat-box]) 22 AT_XFAIL_IF([/bin/true]) 22 23 23 24 file=test.conf … … 118 119 AT_SETUP([Domain - duplicating box with Redo]) 119 120 AT_KEYWORDS([domain repeat-box redo]) 121 AT_XFAIL_IF([/bin/true]) 120 122 121 123 file=test.conf -
tests/regression/Filling/FillSurface/testsuite-fill-surface-micelle.at
rcd91bd rfba720 20 20 AT_SETUP([Filling - Creating micelle by surface filling]) 21 21 AT_KEYWORDS([filling fill-surface sphere micelle rotate-to-principal-axis-system]) 22 AT_XFAIL_IF([/bin/true]) 22 23 23 24 file=tensid.data … … 49 50 AT_SETUP([Filling - Creating micelle by surface filling with Undo]) 50 51 AT_KEYWORDS([filling fill-surface sphere micelle rotate-to-principal-axis-system undo]) 52 AT_XFAIL_IF([/bin/true]) 51 53 52 54 file=tensid-undo.data … … 78 80 AT_SETUP([Filling - Creating micelle by surface filling with Redo]) 79 81 AT_KEYWORDS([filling fill-surface sphere micelle rotate-to-principal-axis-system redo]) 82 AT_XFAIL_IF([/bin/true]) 80 83 81 84 file=tensid.data -
tests/regression/Filling/RegularGrid/testsuite-fill-regular-grid.at
rcd91bd rfba720 20 20 AT_SETUP([Filling - Fill regular grid]) 21 21 AT_KEYWORDS([filling fill-regular-grid add-empty-boundary]) 22 AT_XFAIL_IF([/bin/true]) 22 23 23 24 file=solved_single_sles.data … … 45 46 AT_SETUP([Filling - Fill regular grid with Redo]) 46 47 AT_KEYWORDS([filling fill-regular-grid redo]) 48 AT_XFAIL_IF([/bin/true]) 47 49 48 50 file=solved_single_sles.data -
tests/regression/Fragmentation/AnalyseFragmentationResults/testsuite-fragmentation-analyse-fragment-results.at
rcd91bd rfba720 40 40 AT_SETUP([Fragmentation - Analyse short-range fragmentation results with forces]) 41 41 AT_KEYWORDS([fragmentation parse-fragment-results analyse-fragment-results forces]) 42 AT_XFAIL_IF([/bin/true]) 42 43 43 44 file=BondFragmentShortRangeResults.dat … … 75 76 AT_SETUP([Fragmentation - Analyse long-range fragmentation results with OBC and forces]) 76 77 AT_KEYWORDS([fragmentation parse-fragment-results analyse-fragment-results forces longrange]) 78 AT_XFAIL_IF([/bin/true]) 77 79 78 80 file=BondFragmentLongRangeResults_OBC.dat … … 112 114 AT_SETUP([Fragmentation - Analyse long-range fragmentation results with PBC and forces]) 113 115 AT_KEYWORDS([fragmentation parse-fragment-results analyse-fragment-results forces longrange]) 116 AT_XFAIL_IF([/bin/true]) 114 117 115 118 file=BondFragmentLongRangeResults_PBC.dat -
tests/regression/Molecules/Copy/testsuite-molecules-copy-molecule.at
rcd91bd rfba720 20 20 AT_SETUP([Molecules - Copy molecule]) 21 21 AT_KEYWORDS([molecules copy-molecule]) 22 AT_XFAIL_IF([/bin/true]) 22 23 23 24 file=test-copy.xyz … … 58 59 AT_SETUP([Molecules - Copy molecule with Redo]) 59 60 AT_KEYWORDS([molecules copy-molecule redo]) 61 AT_XFAIL_IF([/bin/true]) 60 62 61 63 file=test-copy.xyz -
tests/regression/Parser/Tremolo-Potentials/testsuite-parser-tremolo-potentials-load.at
rcd91bd rfba720 21 21 AT_SETUP([Parser - load tremolo file with potentials]) 22 22 AT_KEYWORDS([parser tremolo load parse-particle-parameters]) 23 AT_XFAIL_IF([/bin/true]) 23 24 24 25 file=argon.data -
tests/regression/Parser/Tremolo-SetAtomdata/testsuite-parser-tremolo-resetatomdata.at
rcd91bd rfba720 20 20 AT_SETUP([Parser - set tremolo's atomdata]) 21 21 AT_KEYWORDS([parser tremolo set-tremolo-atomdata]) 22 AT_XFAIL_IF([/bin/true]) 22 23 23 24 file=argon.data … … 31 32 AT_SETUP([Parser - set tremolo's atomdata with Undo]) 32 33 AT_KEYWORDS([parser tremolo set-tremolo-atomdata undo]) 34 AT_XFAIL_IF([/bin/true]) 33 35 34 36 file=argon.data … … 42 44 AT_SETUP([Parser - set tremolo's atomdata with Redo]) 43 45 AT_KEYWORDS([parser tremolo set-tremolo-atomdata redo]) 46 AT_XFAIL_IF([/bin/true]) 44 47 45 48 file=argon.data -
tests/regression/Parser/Tremolo-SetAtomdata/testsuite-parser-tremolo-setatomdata.at
rcd91bd rfba720 20 20 AT_SETUP([Parser - reset tremolo's atomdata]) 21 21 AT_KEYWORDS([parser tremolo set-tremolo-atomdata]) 22 AT_XFAIL_IF([/bin/true]) 22 23 23 24 file=argon.data … … 31 32 AT_SETUP([Parser - reset tremolo's atomdata with Undo]) 32 33 AT_KEYWORDS([parser tremolo set-tremolo-atomdata undo]) 34 AT_XFAIL_IF([/bin/true]) 33 35 34 36 file=argon.data … … 42 44 AT_SETUP([Parser - reset tremolo's atomdata with Redo]) 43 45 AT_KEYWORDS([parser tremolo set-tremolo-atomdata redo]) 46 AT_XFAIL_IF([/bin/true]) 44 47 45 48 file=argon.data -
tests/regression/Parser/Tremolo/testsuite-parser-tremolo-load.at
rcd91bd rfba720 21 21 AT_SETUP([Parser - loading tremolo file]) 22 22 AT_KEYWORDS([parser load tremolo]) 23 AT_XFAIL_IF([/bin/true]) 23 24 24 25 file=argon.data … … 41 42 AT_SETUP([Parser - loading tremolo file with Redo]) 42 43 AT_KEYWORDS([parser load tremolo redo]) 44 AT_XFAIL_IF([/bin/true]) 43 45 44 46 file=argon.data
Note:
See TracChangeset
for help on using the changeset viewer.