JaRMoS
1.1
Java Reduced Model Simulations
|
Base class for quadratically nonlinear RB systems including the SCM method for error bound computation. More...
Public Member Functions | |
QNTransientSCMSystem (RBSystem sys) | |
double | eval_theta_c () |
Evaluate theta_c (for the quadratic nonlinearity) at the current parameter. More... | |
int | getQa () |
Override get_Q_a since we have n_bfs extra terms. More... | |
double | thetaQa (int q) |
Override eval_theta_q_a in order to account for the affine terms related to basis functions. More... | |
void | loadOfflineData (AModelManager m) throws IOException, InconsistentStateException |
Override read_offline_data in order to read in the extra data in the QNTransient case. More... | |
void | readConfiguration (AModelManager m) throws IOException |
Public Member Functions inherited from rb.RBSCMSystem | |
RBSCMSystem (RBSystem sys) | |
double | get_SCM_LB () |
double | get_SCM_UB () |
Evaluate the SCM upper bound for current_parameters. More... | |
double[] | get_current_parameters () |
void | readConfiguration (AModelManager m) throws IOException |
void | loadOfflineData (AModelManager m) throws IOException, InconsistentStateException |
Read in the stored data from the specified URL in order to initialize the SCM. More... | |
Protected Member Functions | |
void | get_current_parameters_from_C_J (int index) |
Override to also load the RB coefficients. More... | |
void | save_current_parameters () |
Override to also save the RB coefficients. More... | |
void | reload_current_parameters () |
Override to also load the RB coefficients. More... | |
Protected Member Functions inherited from rb.RBSCMSystem | |
double | thetaQa (int q) |
int | getQa () |
void | get_current_parameters_from_C_J (int index) |
Load the current_parameters from the set C_J. More... | |
void | save_current_parameters () |
Save current_parameters in saved_parameters. More... | |
void | reload_current_parameters () |
Reload from saved_parameters. More... | |
Package Functions | |
int | get_n_basis_functions () |
Get/set the number of basis functions. More... | |
void | set_n_basis_functions (int n_bfs_in) |
void | set_current_RB_coeffs (RealVector RB_coeffs) |
Set the current RB coefficients. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from rb.RBSCMSystem | |
static double | param_dist (double[] mu_1, double[] mu_2) |
Protected Attributes inherited from rb.RBSCMSystem | |
RBSystem | sys |
double[] | C_J_stability_vector |
The values of the stability factor at the greedily selected parameters. More... | |
Base class for quadratically nonlinear RB systems including the SCM method for error bound computation.
This class has been taken from the original rbAppMIT package and modified to fit into the current JaRMoS framework.
Definition at line 22 of file QNTransientSCMSystem.java.
rb.QNTransientSCMSystem.QNTransientSCMSystem | ( | RBSystem | sys | ) |
Definition at line 24 of file QNTransientSCMSystem.java.
double rb.QNTransientSCMSystem.eval_theta_c | ( | ) |
Evaluate theta_c (for the quadratic nonlinearity) at the current parameter.
Definition at line 73 of file QNTransientSCMSystem.java.
|
protected |
Override to also load the RB coefficients.
Definition at line 155 of file QNTransientSCMSystem.java.
|
package |
Get/set the number of basis functions.
Definition at line 55 of file QNTransientSCMSystem.java.
int rb.QNTransientSCMSystem.getQa | ( | ) |
Override get_Q_a since we have n_bfs extra terms.
Definition at line 106 of file QNTransientSCMSystem.java.
void rb.QNTransientSCMSystem.loadOfflineData | ( | AModelManager | m | ) | throws IOException, InconsistentStateException |
Override read_offline_data in order to read in the extra data in the QNTransient case.
Definition at line 186 of file QNTransientSCMSystem.java.
void rb.QNTransientSCMSystem.readConfiguration | ( | AModelManager | m | ) | throws IOException |
parameters_filename | The name of the file to parse Parse the input file to initialize this RBSCMSystem. |
IOException |
Definition at line 234 of file QNTransientSCMSystem.java.
|
protected |
Override to also load the RB coefficients.
Definition at line 176 of file QNTransientSCMSystem.java.
|
protected |
Override to also save the RB coefficients.
Definition at line 166 of file QNTransientSCMSystem.java.
|
package |
Set the current RB coefficients.
Definition at line 66 of file QNTransientSCMSystem.java.
|
package |
Definition at line 59 of file QNTransientSCMSystem.java.
double rb.QNTransientSCMSystem.thetaQa | ( | int | q | ) |
Override eval_theta_q_a in order to account for the affine terms related to basis functions.
Definition at line 114 of file QNTransientSCMSystem.java.