Skip to content

Commit

Permalink
docfix: specify that reference pressure is in bara (#827)
Browse files Browse the repository at this point in the history
  • Loading branch information
asmfstatoil authored Oct 4, 2023
1 parent ede9c66 commit 9587f09
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public double getMeasuredValue(String unit) {
* Getter for the field <code>referencePressure</code>.
* </p>
*
* @return a double
* @return Reference pressure in bara
*/
public double getReferencePressure() {
return referencePressure;
Expand All @@ -93,7 +93,7 @@ public double getReferencePressure() {
* Setter for the field <code>referencePressure</code>.
* </p>
*
* @param referencePressure a double
* @param referencePressure Reference pressure to set in in bara
*/
public void setReferencePressure(double referencePressure) {
this.referencePressure = referencePressure;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public double getMeasuredValue(String unit) {
* Getter for the field <code>referencePressure</code>.
* </p>
*
* @return a double
* @return Reference pressure in bara
*/
public double getReferencePressure() {
return referencePressure;
Expand All @@ -110,7 +110,7 @@ public double getReferencePressure() {
* Setter for the field <code>referencePressure</code>.
* </p>
*
* @param referencePressure a double
* @param referencePressure Reference pressure to set in in bara
*/
public void setReferencePressure(double referencePressure) {
this.referencePressure = referencePressure;
Expand Down
12 changes: 8 additions & 4 deletions src/main/java/neqsim/standards/Standard.java
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,15 @@ public void setReferenceState(String referenceState) {
this.referenceState = referenceState;
}

public void setReferencePressure(double referencePressure) {
this.referencePressure = referencePressure;
/** {@inheritDoc} */
@Override
public double getReferencePressure() {
return referencePressure;
}

public double getReferencePressure(){
return referencePressure;
/** {@inheritDoc} */
@Override
public void setReferencePressure(double referencePressure) {
this.referencePressure = referencePressure;
}
}
16 changes: 16 additions & 0 deletions src/main/java/neqsim/standards/StandardInterface.java
Original file line number Diff line number Diff line change
Expand Up @@ -165,5 +165,21 @@ public interface StandardInterface {
*/
public void setResultTable(String[][] resultTable);

/**
* <p>
* Getter for the field <code>referencePressure</code>.
* </p>
*
* @return Reference pressure in bara
*/
public double getReferencePressure();

/**
* <p>
* Setter for the field <code>referencePressure</code>.
* </p>
*
* @param referencePressure Reference pressure to set in in bara
*/
public void setReferencePressure(double referencePressure);
}
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public void setReferenceTemperatureMeasurement(double referenceTemperature) {
* Getter for the field <code>referencePressure</code>.
* </p>
*
* @return a double
* @return Reference pressure in bara
*/
public double getReferencePressure() {
return referencePressure;
Expand All @@ -213,7 +213,7 @@ public double getReferencePressure() {
* Setter for the field <code>referencePressure</code>.
* </p>
*
* @param referencePressure a double
* @param referencePressure Reference pressure to set in in bara
*/
public void setReferencePressure(double referencePressure) {
this.referencePressure = referencePressure;
Expand Down

0 comments on commit 9587f09

Please sign in to comment.