Elaboradar 0.1
|
◆ write_vpr_hmax()
write in $VPR_HMAX the vpr peak's height.
Definizione alla linea 322 del file assets.cpp. 323{
324 const char* fname = getenv("VPR_HMAX");
325 if (!fname) throw runtime_error("$VPR_HMAX is not set");
327 fprintf(out, "%d", hvprmax);
328 fclose(out);
329}
FILE * fopen_checked(const char *fname, const char *mode, const char *description) A wrapper of fopen that throws an exception if it cannot open the file. Definition utils.cpp:144 Referenzia radarelab::fopen_checked(). Referenziato da elaboradar::CalcoloVPR::analyse_VPR(). |