The module that calculates simulation data.
More...
#include "us_astfem_rsa.h"
|
void | update_assocv (void) |
|
void | adjust_limits (int speed) |
|
double | stretch (double *, int) |
|
void | initialize_rg (void) |
|
void | initialize_conc (int, US_AstfemMath::MfemInitial &, bool) |
|
int | calculate_ni (double, double, US_AstfemMath::MfemInitial &, US_AstfemMath::MfemData &, bool) |
|
void | mesh_gen (QVector< double > &, int) |
|
void | mesh_gen_s_pos (const QVector< double > &) |
|
void | mesh_gen_s_neg (const QVector< double > &) |
|
void | mesh_gen_RefL (int, int) |
|
void | ComputeCoefMatrixFixedMesh (double, double, double **, double **) |
|
void | decompose (US_AstfemMath::MfemInitial *) |
|
void | ComputeCoefMatrixMovingMeshR (double, double, double **, double **) |
|
void | ComputeCoefMatrixMovingMeshL (double, double, double **, double **) |
|
void | ReactionOneStep_Euler_imp (int, double **, double) |
|
void | Reaction_dydt (double *, double *) |
|
void | Reaction_dfdy (double *, double **) |
|
int | calculate_ra2 (double, double, US_AstfemMath::MfemInitial *, US_AstfemMath::MfemData &, bool) |
|
void | GlobalStiff (double *, double **, double **, double, double) |
|
void | load_mfem_data (US_DataIO::RawData &, US_AstfemMath::MfemData &) |
|
void | store_mfem_data (US_DataIO::RawData &, US_AstfemMath::MfemData &) |
|
The module that calculates simulation data.
Definition at line 18 of file us_astfem_rsa.h.
Initialize the simulation calculation object.
- Parameters
-
model | Reference to the model. |
params | Reference to the simulation parameters. |
parent | Parent object, normally not specified. |
Definition at line 13 of file us_astfem_rsa.cpp.
void US_Astfem_RSA::adjust_limits |
( |
int |
speed | ) |
|
|
private |
void US_Astfem_RSA::calc_done |
( |
void |
| ) |
|
|
signal |
Signal that decompose() calculations are done.
The connected slot receives notice that decompose() function calculations have completed.
void US_Astfem_RSA::calc_progress |
( |
int |
| ) |
|
|
signal |
Signal that a decompose() calculation step is complete.
The connected slot receives the integer step count from the decompose() function.
void US_Astfem_RSA::calc_start |
( |
int |
| ) |
|
|
signal |
Signal that decompose() calculations have begun.
The connected slot receives notice that decompose() function calculations have begun and receives the integer maximum number of steps.
Do the bulk of simulation calculations.
- Parameters
-
exp_data | Reference to the artificial experimental object to be created and populated by simulation. |
Definition at line 26 of file us_astfem_rsa.cpp.
void US_Astfem_RSA::ComputeCoefMatrixFixedMesh |
( |
double |
D, |
|
|
double |
sw2, |
|
|
double ** |
CA, |
|
|
double ** |
CB |
|
) |
| |
|
private |
void US_Astfem_RSA::ComputeCoefMatrixMovingMeshL |
( |
double |
D, |
|
|
double |
sw2, |
|
|
double ** |
CA, |
|
|
double ** |
CB |
|
) |
| |
|
private |
void US_Astfem_RSA::ComputeCoefMatrixMovingMeshR |
( |
double |
D, |
|
|
double |
sw2, |
|
|
double ** |
CA, |
|
|
double ** |
CB |
|
) |
| |
|
private |
void US_Astfem_RSA::current_component |
( |
int |
| ) |
|
|
signal |
Signal that a calculate() step is complete.
The connected slot receives the integer step count from loops in function calculate().
void US_Astfem_RSA::current_speed |
( |
int |
| ) |
|
|
signal |
void US_Astfem_RSA::GlobalStiff |
( |
double * |
xb, |
|
|
double ** |
ca, |
|
|
double ** |
cb, |
|
|
double |
D, |
|
|
double |
sw2 |
|
) |
| |
|
private |
void US_Astfem_RSA::initialize_rg |
( |
void |
| ) |
|
|
private |
void US_Astfem_RSA::mesh_gen |
( |
QVector< double > & |
nu, |
|
|
int |
MeshOpt |
|
) |
| |
|
private |
void US_Astfem_RSA::mesh_gen_RefL |
( |
int |
N0, |
|
|
int |
M0 |
|
) |
| |
|
private |
void US_Astfem_RSA::mesh_gen_s_neg |
( |
const QVector< double > & |
nu | ) |
|
|
private |
void US_Astfem_RSA::mesh_gen_s_pos |
( |
const QVector< double > & |
nuvec | ) |
|
|
private |
void US_Astfem_RSA::new_scan |
( |
QVector< double > * |
, |
|
|
double * |
|
|
) |
| |
|
signal |
void US_Astfem_RSA::new_time |
( |
double |
| ) |
|
|
signal |
void US_Astfem_RSA::Reaction_dfdy |
( |
double * |
y0, |
|
|
double ** |
dfdy |
|
) |
| |
|
private |
void US_Astfem_RSA::Reaction_dydt |
( |
double * |
y0, |
|
|
double * |
yt |
|
) |
| |
|
private |
void US_Astfem_RSA::ReactionOneStep_Euler_imp |
( |
int |
Npts, |
|
|
double ** |
C1, |
|
|
double |
timeStep |
|
) |
| |
|
private |
void US_Astfem_RSA::set_debug_flag |
( |
int |
flag | ) |
|
|
inline |
Set a flag for the debug print level.
- Parameters
-
flag | Integer debug print level (dbg_level). |
Definition at line 58 of file us_astfem_rsa.h.
void US_Astfem_RSA::set_movie_flag |
( |
bool |
flag | ) |
|
|
inline |
Set a flag for whether to emit signals for movie mode.
- Parameters
-
flag | Flag for whether or not to operate in show-movie mode. |
Definition at line 48 of file us_astfem_rsa.h.
void US_Astfem_RSA::set_simout_flag |
( |
bool |
flag | ) |
|
|
inline |
Set a flag for whether to output the simulation data.
- Parameters
-
flag | Flag for whether or not to output raw simulation data, instead of the normal data interpolated to fit the input experiment grid. |
Definition at line 54 of file us_astfem_rsa.h.
void US_Astfem_RSA::setStopFlag |
( |
bool |
flag | ) |
|
|
inline |
Set a flag for whether to stop calculations.
- Parameters
-
flag | Flag to stop calculation() computations and return. |
Definition at line 44 of file us_astfem_rsa.h.
void US_Astfem_RSA::setTimeCorrection |
( |
bool |
flag | ) |
|
|
inline |
Set a flag for whether to perform time correction.
- Parameters
-
flag | Flag for whether or not to perform correction. |
Definition at line 36 of file us_astfem_rsa.h.
void US_Astfem_RSA::setTimeInterpolation |
( |
bool |
flag | ) |
|
|
inline |
Set a flag for whether to perform time interpolation.
- Parameters
-
flag | Flag for whether or not to perform interpolation. |
Definition at line 40 of file us_astfem_rsa.h.
double US_Astfem_RSA::stretch |
( |
double * |
rotorcoeffs, |
|
|
int |
rpm |
|
) |
| |
|
private |
void US_Astfem_RSA::update_assocv |
( |
void |
| ) |
|
|
private |
int US_Astfem_RSA::dbg_level |
|
private |
double US_Astfem_RSA::last_time |
|
private |
Keep track of time globally for w2t_integral calculation.
Definition at line 118 of file us_astfem_rsa.h.
Number of points used in radial direction.
Definition at line 121 of file us_astfem_rsa.h.
bool US_Astfem_RSA::show_movie |
|
private |
bool US_Astfem_RSA::simout_flag |
|
private |
bool US_Astfem_RSA::stopFlag |
|
private |
Stop calculation, interpolate, and return.
Definition at line 105 of file us_astfem_rsa.h.
bool US_Astfem_RSA::time_correction |
|
private |
Decides if output data is time corrected
for acceleration (true=yes, false=no)
Definition at line 106 of file us_astfem_rsa.h.
bool US_Astfem_RSA::use_time |
|
private |
Decides if output data is interpolated
based on time (=true) or based on omega-square-t integral (=false)
Definition at line 109 of file us_astfem_rsa.h.
double US_Astfem_RSA::w2t_integral |
|
private |
Keep track of w2t_integral value globally.
Definition at line 120 of file us_astfem_rsa.h.
QVector< double > US_Astfem_RSA::x |
|
private |
double* US_Astfem_RSA::xA |
|
private |
The documentation for this class was generated from the following files: