예제 #1
0
  @Override
  public void validate() {
    super.validate();

    // Confirm that the fluid has been specified
    if (fluidInput.getValue() == null) {
      throw new InputErrorException("The keyword Fluid must be set.");
    }
  }
예제 #2
0
 @Override
 public void earlyInit() {
   super.earlyInit();
   lastUpdateTime = 0.0;
 }