functiongetIdxFromHeight
Returns index of closest control volume matching the given height
Information
1. Purpose of model
function for returning the closest control volume which is matching the given height
2. Level of detail, physical effects considered, and physical insight
(no remarks)
3. Limits of validity
(no remarks)
4. Interfaces
(no remarks)
5. Nomenclature
(no remarks)
6. Governing Equations
(no remarks)
7. Remarks for Usage
(no remarks)
8. Validation
(no remarks)
9. References
(no remarks)
10. Version History
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | N | Number of volumes | |
| SI.Length | h | Total height | |
| SI.Length | hq | Query height |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | iq | Index |