1 package models.rbm_advec_tc;
23 for (
int i = 1; i < p.length; i++) {
37 return new int[] { 1 };
67 public double thetaQm(
int i,
double[] p,
double t) {
107 public double thetaQl(
int k,
int i,
double[] p,
double t) {
108 if ((k < 0) || (k >
getQl().length - 1)) {
109 throw new RuntimeException(
"Input parameter is invalid in evaluateL()," +
" k = " + k
110 +
" but get_n_outputs() = " +
getQl());
113 if ((i < 0) || (i >
getQl()[i] - 1)) {
114 throw new RuntimeException(
"Input parameter is invalid in evaluateL()," +
" q_l = " + i
115 +
" but get_Q_l(i) = " +
getQl()[i]);
125 public double thetaQf(
int i,
double[] p,
double t) {
126 if ((i < 0) || (i >
getQf() - 1)) {
127 throw new RuntimeException(
"Input parameter is invalid in evaluateF()," +
" i = " + i
128 +
" but get_n_F_functions() = " +
getQf());
145 throw new Error(
"Should not reach here");
153 public double thetaQa(
int i,
double[] p,
double t) {
154 if ((i < 0) || (i >
getQa() - 1)) {
155 throw new RuntimeException(
"Input parameter is invalid in evaluateA()," +
" i = " + i
156 +
" but get_n_A_functions() = " +
getQa());
165 throw new Error(
"Should not reach here");
190 throw new Error(
"Should not reach here");
boolean isTimeDependentL()
Affine coefficient functions for time-independent advection/diffusion problem.
boolean isTimeDependentA()
Interface for AffineFunctions in unsteady rb systems.
Base interface for any affine functions used as an externally loaded class.
double thetaQa(int i, double[] p, double t)
boolean isTimeDependentM()
double thetaQu0(int i, double[] p)
double thetaQl(int k, int i, double[] p, double t)
double thetaQf(int i, double[] p, double t)
double thetaQm(int i, double[] p, double t)
double get_SCM_LB(double[] p)
Interface for affinely decomposed initial value conditions.