SeekModify

class SeekModify

Find Modify with class name.

Public Functions

std::vector<int> index(const std::string class_name, const MonteCarlo &mc) const

Return the indices, where the first is mc.modify index. If inside ModifyFactory, the second is the index of the factory. Otherwise, the second index is -1. Only the first match is returned.