//----------------------------------------------------------- // Check for bmp element, return false if not //----------------------------------------------------------- short FEAReadHandler::BMPFileInput(char *xName,const Attributes& attrs) { // check for common commands if(BMPFileCommonInput(xName,attrs,MUST_BE_NO_BLOCK)) return TRUE; return FALSE; }
//----------------------------------------------------------- // Check for bmp element, return false if not //----------------------------------------------------------- short MPMReadHandler::BMPFileInput(char *xName,const Attributes& attrs) { // check for common commands if(BMPFileCommonInput(xName,attrs,POINTSBLOCK)) return TRUE; //----------------------------------------------------------- // Intensity properties for MPM only // vel is handled in main MPMReadHandler //----------------------------------------------------------- // concentration if(strcmp(xName,"Concentration")==0) { ValidateCommand(xName,INTENSITYBLOCK,ANY_DIM); input=DOUBLE_NUM; inputPtr=(char *)¤tLevel->concentration; } // not a BMP file element else return FALSE; return TRUE; }