Check files for a particular time
(mesh_, mesh_.time()
| 85 | { |
| 86 | // Check files for a particular time |
| 87 | IOobjectList objects(mesh_, mesh_.time().timeName()); |
| 88 | wordList allFields = objects.sortedNames(); |
| 89 | |
| 90 | forAll(fieldSelection_, i) |
| 91 | { |
| 92 | labelList indices = findStrings(fieldSelection_[i], allFields); |
| 93 | |
| 94 | if (indices.size()) |
| 95 | { |
| 96 | forAll(indices, fieldi) |
| 97 | { |
| 98 | const word& fieldName = allFields[indices[fieldi]]; |
| 99 | |
| 100 | nFields += appendFieldGroup |
| 101 | ( |
| 102 | fieldName, |
| 103 | objects.find(fieldName)()->headerClassName() |
| 104 | ); |
| 105 | } |
| 106 | } |
| 107 | else |
| 108 | { |
| 109 | WarningInFunction |
| 110 | << "Cannot find field file matching " |
| 111 | << fieldSelection_[i] << endl; |
| 112 | } |
| 113 | } |
| 114 | } |
| 115 | else |
| 116 | { |
nothing calls this directly
no test coverage detected