public Dimension addDimension(Group g, String dimName, int length) {
    """
	Add a shared Dimension to the file. Must be in define mode.
	
	@param dimName name of dimension
	@param length  size of dimension.
	@return the created dimension
    """
    return addDimension(g, dimName, length, false, false);
  }
public Dimension addDimension(Group g, String dimName, int length) {
    return addDimension(g, dimName, length, false, false);
  }
public Dimension addDimension ( Group g , String dimName , int length ) { return addDimension ( g , dimName , length , false , false ) ; }
Add a shared Dimension to the file. Must be in define mode.

@param dimName name of dimension
@param length  size of dimension.
@return the created dimension
Add a shared Dimension to the file . Must be in define mode .