----------------------------------------------------------------------------
| 130 | |
| 131 | //---------------------------------------------------------------------------- |
| 132 | bool vtkXMLWriter2::MakeDirectory(const std::string& dirname) const |
| 133 | { |
| 134 | int status = 0; |
| 135 | if (this->Controller == nullptr || this->Controller->GetLocalProcessId() == 0) |
| 136 | { |
| 137 | status = vtksys::SystemTools::MakeDirectory(dirname) ? 1 : 0; |
| 138 | } |
| 139 | if (this->Controller && this->Controller->GetNumberOfProcesses() > 1) |
| 140 | { |
| 141 | this->Controller->Broadcast(&status, 1, 0); |
| 142 | } |
| 143 | return (status == 1); |
| 144 | } |
| 145 | |
| 146 | //---------------------------------------------------------------------------- |
| 147 | int vtkXMLWriter2::ExclusiveScanSum(vtkMultiProcessController* controller, int count) |
no test coverage detected