| 1300 | } |
| 1301 | |
| 1302 | XdmfInt64 |
| 1303 | XdmfArray::GetMinAsInt64( void ) { |
| 1304 | XdmfLength i, Length; |
| 1305 | XdmfInt64 Value, *Data; |
| 1306 | |
| 1307 | Length = this->GetNumberOfElements(); |
| 1308 | Data = new XdmfInt64[ Length ]; |
| 1309 | this->GetValues( 0, Data, Length); |
| 1310 | Value = Data[0]; |
| 1311 | for( i = 0 ; i < Length ; i++ ){ |
| 1312 | if ( Data[i] < Value ) { |
| 1313 | Value = Data[i]; |
| 1314 | } |
| 1315 | } |
| 1316 | delete [] Data; |
| 1317 | return( Value ); |
| 1318 | } |
| 1319 | |
| 1320 | XdmfInt64 |
| 1321 | XdmfArray::GetMaxAsInt64( void ) { |
nothing calls this directly
no test coverage detected