Pandat result table controller. For PanGUI only.
More...
#include <pfm_writers.h>
|
static void | initialize_pandat_result_table (map< int, shared_ptr< P_Result > > &m_result, int ppf_calc_id, vector< pair< string, string > > dbs) |
|
static void | update_pandat_result_table (map< int, shared_ptr< P_Result > > &m_result, int ppf_calc_id, string pandat_rlt_path, double time_in_sec, double T_in_K, PFM_Stat &stat, bool is_finalized=true) |
|
static void | update_pandat_result_table_custom (map< int, shared_ptr< P_Result > > &m_result, int ppf_calc_id, string pandat_rlt_path, double time_in_sec, double T_in_K, PFM_Stat &stat, map< string, double > &custom_property, bool is_finalized=true) |
|
static void | update_stat_spinodal (pandat_result_utility::PFM_Stat &stat, double avg_dt, int tot_steps, map< string, double >energy_terms, VectorMesh< double > *comp_field, vector< string > comp_names, vector< string > phase_names) |
|
static void | update_stat (PFM_Stat &stat, double avg_dt, int tot_steps, map< string, double >energy_terms, VectorMesh< double > *comp_field, vector< string > comp_names, vector< string > phase_names, VectorMesh< double > *etar) |
|
Pandat result table controller. For PanGUI only.
◆ initialize_pandat_result_table()
static void pandat_result_utility::Pandat_Result_Table::initialize_pandat_result_table |
( |
map< int, shared_ptr< P_Result > > & |
m_result, |
|
|
int |
ppf_calc_id, |
|
|
vector< pair< string, string > > |
dbs |
|
) |
| |
|
inlinestatic |
Initialize a pandat result table with given calculation id
- Parameters
-
[out] | m_result | the hashmap of Pandat result tables with key of calculation id |
[in] | ppf_calc_id | the key to be added |
[in] | dbs | the database information to be added to result table |
- Returns
- void
◆ update_pandat_result_table()
static void pandat_result_utility::Pandat_Result_Table::update_pandat_result_table |
( |
map< int, shared_ptr< P_Result > > & |
m_result, |
|
|
int |
ppf_calc_id, |
|
|
string |
pandat_rlt_path, |
|
|
double |
time_in_sec, |
|
|
double |
T_in_K, |
|
|
PFM_Stat & |
stat, |
|
|
bool |
is_finalized = true |
|
) |
| |
|
inlinestatic |
Update a pandat result table with given calculation id
- Parameters
-
[out] | m_result | the hashmap of Pandat result tables with key of calculation id |
[in] | ppf_calc_id | the key to be added |
[in] | pandat_rlt_path | the path of saving pandat result table |
[in] | time_in_sec | the current moment of heat treatment in seconds |
[in] | T_in_K | the current temperature in K |
[in] | stat | the statistics of phase field model at the current moment |
[in] | is_finalized | control to write xml or not |
- Returns
- void
◆ update_pandat_result_table_custom()
static void pandat_result_utility::Pandat_Result_Table::update_pandat_result_table_custom |
( |
map< int, shared_ptr< P_Result > > & |
m_result, |
|
|
int |
ppf_calc_id, |
|
|
string |
pandat_rlt_path, |
|
|
double |
time_in_sec, |
|
|
double |
T_in_K, |
|
|
PFM_Stat & |
stat, |
|
|
map< string, double > & |
custom_property, |
|
|
bool |
is_finalized = true |
|
) |
| |
|
inlinestatic |
Update a pandat result table for a given calculation id along with a custom_property
- Parameters
-
[out] | m_result | the hashmap of Pandat result tables with key of calculation id |
[in] | ppf_calc_id | the key to be added. |
[in] | pandat_rlt_path | the path of saving pandat result table. |
[in] | time_in_sec | the current moment of heat treatment in seconds. |
[in] | T_in_K | the current temperature in K. |
[in] | stat | the statistics of phase field model at the current moment. |
[in] | custom_property | (key,value) map of the custom properties. |
[in] | is_finalized | control to write xml or not. |
- Returns
- void
◆ update_stat_spinodal()
static void pandat_result_utility::Pandat_Result_Table::update_stat_spinodal |
( |
pandat_result_utility::PFM_Stat & |
stat, |
|
|
double |
avg_dt, |
|
|
int |
tot_steps, |
|
|
map< string, double > |
energy_terms, |
|
|
VectorMesh< double > * |
comp_field, |
|
|
vector< string > |
comp_names, |
|
|
vector< string > |
phase_names |
|
) |
| |
|
inlinestatic |
Update statistics of spinodal decomposition
- Parameters
-
[out] | stat | the statistics of phase field model |
[in] | avg_dt | the average time step |
[in] | tot_steps | the tot steps of time integral |
[in] | energy_terms | the hashmap of energy terms with key of energy name |
[in] | comp_field | the composition mesh |
[in] | comp_names | the name of dimensions in the composition mesh |
[in] | phase_names | the phase name of dimensions of the order parameter mesh |
- Returns
- void
◆ update_stat()
static void pandat_result_utility::Pandat_Result_Table::update_stat |
( |
PFM_Stat & |
stat, |
|
|
double |
avg_dt, |
|
|
int |
tot_steps, |
|
|
map< string, double > |
energy_terms, |
|
|
VectorMesh< double > * |
comp_field, |
|
|
vector< string > |
comp_names, |
|
|
vector< string > |
phase_names, |
|
|
VectorMesh< double > * |
etar |
|
) |
| |
|
inlinestatic |
Update statistics of phase field model
- Parameters
-
[out] | stat | the statistics of phase field model |
[in] | avg_dt | the average time step |
[in] | tot_steps | the tot steps of time integral |
[in] | energy_terms | the hashmap of energy terms with key of energy name |
[in] | comp_field | the composition mesh |
[in] | comp_names | the name of dimensions in the composition mesh |
[in] | phase_names | the phase name of dimensions of the order parameter mesh |
[in] | etar | the order parameter mesh |
- Returns
- void
The documentation for this class was generated from the following file: