public boolean checkForceFieldType ( String ffname ) { boolean check = false ; for ( int i = 0 ; i < fftypes . length ; i ++ ) { if ( fftypes [ i ] . equals ( ffname ) ) { check = true ; break ; } } if ( ! check ) { // logger.debug("FFError:checkForceFieldType> Unknown forcefield:" + ffname + "Take default:"+ffName); return false ; } return true ; }
Sets the forceFieldType attribute of the ForceFieldConfigurator object