PanPhaseField SDK
pandat_result_utility Namespace Reference

Utilities writting Pandat result tables. More...

Classes

class  Pandat_Result_Table
 Pandat result table controller. For PanGUI only. More...
 
class  PFM_Stat
 Phase field model statistics. More...
 

Functions

double get_weight_percent (map< string, double > &comp_in_mole_percent, string &key)
 
void initialize_p_point (shared_ptr< P_Point > to_point)
 

Detailed Description

Utilities writting Pandat result tables.

Function Documentation

◆ get_weight_percent()

double pandat_result_utility::get_weight_percent ( map< string, double > &  comp_in_mole_percent,
string &  key 
)
inline

Get weight percentage

Parameters
[in]comp_in_mole_percentthe the composition dictionary in mole fraction
[in]keythe the key of componenet to transform
Returns
value of fraction in weight. If the key does not exist in the comp_in_mole_percent, 0.0 is returned

◆ initialize_p_point()

void pandat_result_utility::initialize_p_point ( shared_ptr< P_Point >  to_point)
inline

Initialize a point (a row) in Pandat result table

Parameters
[out]to_pointthe point to be initialized
Returns
void