/**
  * Returns the volume of the process materials, without sub-processes.
  *
  * @return float
  */
 public function getMaterialVolume()
 {
     if (!isset($this->materials)) {
         return 0;
     }
     return $this->materials->getMaterialVolume();
 }