Ignore:
File:
1 edited

Legend:

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

    ra02462 r35b698  
    55 *      Author: heber
    66 */
     7
     8#include "Helpers/MemDebug.hpp"
    79
    810#include "Actions/MoleculeAction/LinearInterpolationofTrajectoriesAction.hpp"
     
    6769    if (IdMapping)
    6870      DoLog(1) && (Log() << Verbose(1) << "Using Identity for the permutation map." << 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);
     71    if (!mol->LinearInterpolationBetweenConfiguration(start, end, filename, *(World::getInstance().getConfig()), IdMapping))
     72      DoLog(2) && (Log() << Verbose(2) << "Could not store " << filename << " files." << endl);
    7473    else
    7574      DoLog(2) && (Log() << Verbose(2) << "Steps created and " << filename << " files stored." << endl);
Note: See TracChangeset for help on using the changeset viewer.