|
|
|
@ -61,6 +61,21 @@ MString ActionInfo_DoAction(const CLArgs& args, D& data)
|
|
|
|
|
if(uniform) out += ", step is " + timeCol + (times.back() - times.front()).Seconds() / (times.size() - 1) + C() + " s"; |
|
|
|
|
message(out); |
|
|
|
|
} |
|
|
|
|
{ |
|
|
|
|
const auto times = ad.TimeIndexes() | std::views::transform([× = ad.Times()](size_t i) { return times[i]; }); |
|
|
|
|
|
|
|
|
|
const bool onetime = times.size() == 1; |
|
|
|
|
const bool uniform = CF::CheckUniform(times); |
|
|
|
|
|
|
|
|
|
MString out = MString("Selected time moments: ") + timeCol + times.size() + C(); |
|
|
|
|
if(onetime) |
|
|
|
|
out += ", " + timeCol + times[0].ToTString() + C(); |
|
|
|
|
else |
|
|
|
|
out += ", from " + timeCol + times.front().ToTString() + C() + " to " + timeCol + times.back().ToTString() + C(); |
|
|
|
|
if(!onetime && !uniform) out += ", not uniform"; |
|
|
|
|
if(uniform) out += ", step is " + timeCol + (times.back() - times.front()).Seconds() / (times.size() - 1) + C() + " s"; |
|
|
|
|
message(out); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Variables
|
|
|
|
|
std::map<std::shared_ptr<Projection>, MString> usedproj; |
|
|
|
|