Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/MoleculeAction/LinearInterpolationofTrajectoriesAction.cpp

    r35b698 ra02462  
    55 *      Author: heber
    66 */
    7 
    8 #include "Helpers/MemDebug.hpp"
    97
    108#include "Actions/MoleculeAction/LinearInterpolationofTrajectoriesAction.hpp"
     
    6967    if (IdMapping)
    7068      DoLog(1) && (Log() << Verbose(1) << "Using Identity for the permutation map." << endl);
    71     if (!mol->LinearInterpolationBetweenConfiguration(start, end, filename, *(World::getInstance().getConfig()), IdMapping))
    72       DoLog(2) && (Log() << Verbose(2) << "Could not store " << filename << " files." << endl);
     69    char outputname[MAXSTRINGSIZE];
     70    strcpy(outputname, filename.c_str());
     71    // TODO: LinearInterpolationBetweenConfiguration should use stream, not the filename directly! (better for unit test)
     72    if (!mol->LinearInterpolationBetweenConfiguration(start, end, outputname, *(World::getInstance().getConfig()), IdMapping))
     73      DoLog(2) && (Log() << Verbose(2) << "Could not store " << outputname << " files." << endl);
    7374    else
    7475      DoLog(2) && (Log() << Verbose(2) << "Steps created and " << filename << " files stored." << endl);
Note: See TracChangeset for help on using the changeset viewer.