#include "shape.hpp" bool pFlow::shape::findPropertyIds() { shapePropertyIds_.resize(numShapes()); ForAll( i, materialNames_) { if(uint32 propId; property_.nameToIndex(materialNames_[i], propId) ) { shapePropertyIds_[i] = propId; } else { fatalErrorInFunction<<"Material name "<< materialNames_[i]<< " is not valid in dictionary "<("materials"); if(materialNames_.size() != numShapes() ) { fatalErrorInFunction<< " number of elements in materials and names are not the same in "<< globalName()<