utd_util/uts_io_results.cpp File Reference

#include <vector>
#include <sstream>
#include <iomanip>
#include <ctime>
#include <fstream>
#include <limits>
#include <libconfig.h>
#include <map>
#include <algorithm>
#include "uth_io_results.h"
#include "uth_log.h"
#include "uth_system.h"
Include dependency graph for uts_io_results.cpp:

Classes

struct  utt_io_result_ctrl_pt

Functions

std::vector< std::string > utv_io_result_record (RESULT_LAST)
std::vector< bool > utv_io_result_columns (RESULT_LAST)
std::vector< double > utv_io_result_times (RESULT_LAST)
std::string utv_io_result_filename ("result_test.csv")
std::string utv_io_result_ctrl_pts_filename ("control_points.csv")
int utr_io_result_ctrl_pts_write_values_to_file_and_proceed ()
int utr_io_result_ctrl_pts_write_columns (const int Keep_old_data)
int utr_io_result_set_filename (const char *Workdir, const char *Filename)
void utr_io_result_clear_rows ()
int utr_io_result_clear_columns ()
int utr_io_result_add_column (utt_io_result_name column)
int utr_io_result_add_value (utt_io_result_name name, const char *value)
int utr_io_result_add_value_int (utt_io_result_name name, int value)
int utr_io_result_add_value_double (utt_io_result_name name, double value)
int utr_io_result_cumulative_timer_start (utt_io_result_name name)
int utr_io_result_cumulative_timer_stop (utt_io_result_name name)
int utr_io_result_write_columns_to_file (const int Keep_old_data, const std::string &Filename)
int utr_io_result_write_columns (const int Keep_old_data)
int utr_io_result_write_values_to_file_and_proceed (const std::string &Filename)
int utr_io_result_write_values_and_proceed ()
int utr_io_result_read_row_from_file (const std::string &Filename, const int row_nr, double row[RESULT_LAST])
int utr_io_result_gather_and_avg_all_files (const int N_procs, const int My_proc_ID, const int Row_nr, const int Keep_data)
int utr_io_result_ctrl_pts_read_file (const char *Work_dir, const char *Filename)
 utr_io_result_ctrl_pts_read_file - read control points data from input file
int utr_io_result_ctrl_pts_nr ()
int utr_io_result_ctrl_pt_get_coords (const int Point_nr, double *Coords)
int utr_io_result_ctrl_pt_get_elemID (const int Pt_nr, const int Mesh_id)
int utr_io_result_ctrl_pt_set_elemID (const int Pt_nr, const int Mesh_id, const int ElemID)
int utr_io_result_add_ctrl_pt_values (const int Point_nr, const int N_val, double *Values)
int utr_io_result_ctrl_pts_set_sol_len (const int N_solutions)
int utr_io_result_ctrl_pts_set_filename (const char *Workdir, const char *Filename)

Variables

const char * utv_io_result_column_names [RESULT_LAST]
const int utv_io_result_column_width [RESULT_LAST]
std::vector
< utt_io_result_ctrl_pt
utv_io_result_ctrl_pts

Function Documentation

int utr_io_result_ctrl_pts_write_columns ( const int  Keep_old_data  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int utr_io_result_read_row_from_file ( const std::string &  Filename,
const int  row_nr,
double  row[RESULT_LAST] 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int utr_io_result_write_columns_to_file ( const int  Keep_old_data,
const std::string &  Filename 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int utr_io_result_write_values_to_file_and_proceed ( const std::string &  Filename  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

std::vector<bool> utv_io_result_columns ( RESULT_LAST   ) 

Here is the caller graph for this function:

std::string utv_io_result_ctrl_pts_filename ( "control_points.csv"   ) 

Here is the caller graph for this function:

std::string utv_io_result_filename ( "result_test.csv"   ) 

Here is the caller graph for this function:

std::vector<std::string> utv_io_result_record ( RESULT_LAST   ) 

Here is the caller graph for this function:

std::vector<double> utv_io_result_times ( RESULT_LAST   ) 

Here is the caller graph for this function:


Variable Documentation

const char* utv_io_result_column_names[RESULT_LAST]
Initial value:
 { "STEP",
    "NLIN",
    "  TIME",
    "DTIME",
    "CFL_MIN",
    "CFL_MAX",
    "CFL_AVG",
    "N_DOFS",
    "NORM_PLAS_FL",
    "NORM_NS_SUPG",
    "NORM_NS_SUPG_NONL",
    "NORM_HEAT",
    "NORM_HEAT_NONL",
    "FILES",
    "TIME_TO_SOL", 
    "TIME_DDM", 
    "TIME_PCM", 
    "TIME_MMPM", 
    "TIME_APPM", 
    "TIME_SIM",
    "CONTROL_POINTS"
  }
const int utv_io_result_column_width[RESULT_LAST]
Initial value:
 {
  4,
  4,
  6,
  6,
  6,
  6,
  6,
  6,
  6,
  6,
  6,
  6,
  6,
  6,
  6,
  6,
  6,
  6,
  6,
}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1