private void findFullGridIntBounds() {
		int[] iIntBounds = getIntBounds(ibounds);

		bounds = new int[6];
		if (jbounds==null) {
			bounds = iIntBounds;
		} else {
			int[] jIntBounds = getIntBounds(jbounds);
			bounds[0] = Math.min(iIntBounds[0],jIntBounds[0]);
			bounds[1] = Math.min(iIntBounds[1],jIntBounds[1]);
			bounds[2] = Math.min(iIntBounds[2],jIntBounds[2]);
			bounds[3] = Math.max(iIntBounds[3],jIntBounds[3]);
			bounds[4] = Math.max(iIntBounds[4],jIntBounds[4]);
			bounds[5] = Math.max(iIntBounds[5],jIntBounds[5]);
		}
	}
private void findFullGridIntBounds ( ) { int [ ] iIntBounds = getIntBounds ( ibounds ) ; bounds = new int [ 6 ] ; if ( jbounds == null ) { bounds = iIntBounds ; } else { int [ ] jIntBounds = getIntBounds ( jbounds ) ; bounds [ 0 ] = Math . min ( iIntBounds [ 0 ] , jIntBounds [ 0 ] ) ; bounds [ 1 ] = Math . min ( iIntBounds [ 1 ] , jIntBounds [ 1 ] ) ; bounds [ 2 ] = Math . min ( iIntBounds [ 2 ] , jIntBounds [ 2 ] ) ; bounds [ 3 ] = Math . max ( iIntBounds [ 3 ] , jIntBounds [ 3 ] ) ; bounds [ 4 ] = Math . max ( iIntBounds [ 4 ] , jIntBounds [ 4 ] ) ; bounds [ 5 ] = Math . max ( iIntBounds [ 5 ] , jIntBounds [ 5 ] ) ; } }
Calculates an int array of size 6 into member variable bounds:
- elements 0,1,2: minimum x,y,z of the iAtoms and jAtoms
- elements 3,4,5: maximum x,y,z of the iAtoms and jAtoms