42 const word& stopInstance
61 Info<<
"Time::findInstance"
62 "(const fileName&, const word&, const IOobject::readOption)"
63 <<
" : found \"" << name
77 for (instanceI = ts.
size()-1; instanceI >= 0; --instanceI)
79 if (ts[instanceI].value() <= timeOutputValue())
86 for (; instanceI >= 0; --instanceI)
101 Info<<
"Time::findInstance"
102 "(const fileName&, const word&, const IOobject::readOption)"
103 <<
" : found \"" << name
104 <<
"\" in " << ts[instanceI].name()/dir
108 return ts[instanceI].name();
112 if (ts[instanceI].
name() == stopInstance)
116 Info<<
"Time::findInstance"
117 "(const fileName&, const word&"
118 ", const IOobject::readOption, const word&)"
119 <<
" : hit stopInstance " << stopInstance
123 if (rOpt == IOobject::MUST_READ)
128 "(const fileName&, const word&"
129 ", const IOobject::readOption, const word&)"
130 ) <<
"Cannot find file \"" << name <<
"\" in directory "
131 << dir <<
" in times " <<
timeName()
132 <<
" down to " << stopInstance
136 return ts[instanceI].name();
149 ?
isDir(path()/constant()/dir)
152 isFile(path()/constant()/dir/name)
159 Info<<
"Time::findInstance"
160 "(const fileName&, const word&, const IOobject::readOption)"
161 <<
" : found \"" << name
162 <<
"\" in " << constant()/dir
169 if (rOpt == IOobject::MUST_READ)
174 "(const fileName&, const word&, const IOobject::readOption)"
175 ) <<
"Cannot find file \"" << name <<
"\" in directory "
176 << dir <<
" in times " <<
timeName()
177 <<
" down to " << constant()