PanPhaseField SDK
TempCalculator Class Reference

Get current temperature from assigned thermal condition. More...

#include <temperature.h>

Public Member Functions

 TempCalculator ()
 
 TempCalculator (vector< double > therm_set_time, vector< double > therm_set_temp)
 
 ~TempCalculator ()
 
bool is_empty ()
 
string get_Temp_cur (double time_cur, double &K_cur)
 

Detailed Description

Get current temperature from assigned thermal condition.

Constructor & Destructor Documentation

◆ TempCalculator() [1/2]

TempCalculator::TempCalculator ( )
inline

Default constructor

◆ TempCalculator() [2/2]

TempCalculator::TempCalculator ( vector< double >  therm_set_time,
vector< double >  therm_set_temp 
)
inline

Constructor with arguments

Parameters
therm_set_timethe array of time from thermal history nodes
therm_set_tempthe array of temperature from thermal history nodes

◆ ~TempCalculator()

TempCalculator::~TempCalculator ( )
inline

Destructor

Member Function Documentation

◆ is_empty()

bool TempCalculator::is_empty ( )
inline

Determine whether the temperature stack is empty

◆ get_Temp_cur()

string TempCalculator::get_Temp_cur ( double  time_cur,
double &  K_cur 
)
inline

Get temperature in K given time in seconds

Parameters
[in]time_curthe time in seconds
[out]K_curthe temperature in K
Returns
a string message from this method

The documentation for this class was generated from the following file: