|
ESyS-Particle
2.3.4
|
#include <string>

Go to the source code of this file.
Functions | |
| void | slip2vtk2d (const string &, const string &, const string &, int, int, int, double, double, double, int) |
| void | slip2vtk2d_rate (const string &, const string &, const string &, int, int, int, double, double, double, int) |
| void | slip2vtk2d_rate_rs (const string &, const string &, const string &, const string &, const string &, int, int, int, double, double, double, int) |
| void | slip2raw2d_rs (const string &, const string &, const string &, const string &, const string &, int, int, int, double, double, int, int, int) |
| void | slip2raw2d (const string &, const string &, const string &, int, int, int, double, double, int) |
| void | slip2raw2d_rate_rs (const string &, const string &, const string &, const string &, const string &, int, int, int, double, double, int) |
| void | slip_x2slip_t2d (const string &, const string &, const string &, int, int, int, double) |
| void | slip2rf (const string &, const string &, const string &, int, int, int, double, double, int, double) |
| void | slip2d_total_rs (const string &, const string &, const string &, const string &, const string &, int, int, double, double, int) |
| void | vel2rf (const string &, const string &, const string &, int, int, int, int, double, double, int, double, double, int, double) |
| void | slip2momrate_rs (const string &, const string &, const string &, const string &, const string &, int, int, int, double, double, int) |
| void slip2d_total_rs | ( | const string & | infile_up, |
| const string & | infile_down, | ||
| const string & | posfile_up, | ||
| const string & | posfile_down, | ||
| const string & | outfilename, | ||
| int | t0, | ||
| int | te, | ||
| double | x0, | ||
| double | x1, | ||
| int | nx | ||
| ) |
get total slip distribution at time t from posfiles & RAW_SERIES
| infile_up | file name for displacement data above the fault |
| infile_down | base file name for displacement data below the fault |
| posfile_up | file name for position data above the fault |
| posfile_down | base file name for position data below the fault |
| outfilename | file name for the putput file |
| t0 | start time |
| te | end time |
| x0 | minimum x-value |
| x1 | maximum x-value |
| nx | nr. of grid points in x |
References get_disp_from_map_linear(), and read_line_to_map().
Referenced by main().


| void slip2momrate_rs | ( | const string & | infile_up, |
| const string & | infile_down, | ||
| const string & | posfile_up, | ||
| const string & | posfile_down, | ||
| const string & | outfilename, | ||
| int | t0, | ||
| int | nt, | ||
| int | dt, | ||
| double | x0, | ||
| double | x1, | ||
| int | nx | ||
| ) |
calculate the moment rate function (actually the potency rate function) from a pair of files containing particle displacements above/below a 1D fault and a pair of files containing the initial particle positions
| infile_up | file name for displacement data above the fault |
| infile_down | base file name for displacement data below the fault |
| posfile_up | file name for position data above the fault |
| posfile_down | base file name for position data below the fault |
| outfilename | file name for the putput file |
| t0 | |
| nt | |
| dt | |
| x0 | minimum x-value |
| x1 | maximum x-value |
| nx | nr. of grid points in x |
References get_disp_from_map_linear(), and read_line_to_map().
Referenced by main().


| void slip2raw2d | ( | const string & | infilebase_up, |
| const string & | infilebase_down, | ||
| const string & | outfilename, | ||
| int | t0, | ||
| int | nt, | ||
| int | dt, | ||
| double | x0, | ||
| double | x1, | ||
| int | nx | ||
| ) |
convert a number of file pairs containing particle displacements above/below a 1D fault in a 2D medium to a vtk-file (rect. grid) of the relative displacement
| infilebase_up | base file name for data above the fault |
| infilebase_down | base file name for data below the fault |
| outfilename | file name for the putput file |
| t0 | |
| nt | |
| dt | |
| x0 | minimum x-value |
| x1 | maximum x-value |
| nx | nr. of grid points in x |
References get_disp_from_map_linear(), and read_file_to_map().
Referenced by main().


| void slip2raw2d_rate_rs | ( | const string & | infile_up, |
| const string & | infile_down, | ||
| const string & | posfile_up, | ||
| const string & | posfile_down, | ||
| const string & | outfilename, | ||
| int | t0, | ||
| int | nt, | ||
| int | dt, | ||
| double | x0, | ||
| double | x1, | ||
| int | nx | ||
| ) |
convert a pair of files containing particle displacements above/below a 1D fault and a pair of files containing the initial particle positions to a raw file (column per data point) of the relative velocity
| infile_up | file name for displacement data above the fault |
| infile_down | base file name for displacement data below the fault |
| posfile_up | file name for position data above the fault |
| posfile_down | base file name for position data below the fault |
| outfilename | file name for the putput file |
| t0 | |
| nt | |
| dt | |
| x0 | minimum x-value |
| x1 | maximum x-value |
| nx | nr. of grid points in x |
References get_disp_from_map_linear(), and read_line_to_map().
Referenced by main().


| void slip2raw2d_rs | ( | const string & | infile_up, |
| const string & | infile_down, | ||
| const string & | posfile_up, | ||
| const string & | posfile_down, | ||
| const string & | outfilename, | ||
| int | t0, | ||
| int | nt, | ||
| int | dt, | ||
| double | x0, | ||
| double | x1, | ||
| int | nx, | ||
| int | shift, | ||
| int | mult | ||
| ) |
convert a pair of files containing particle displacements above/below a 1D fault and a pair of files containing the initial particle positions to a raw file (column per data point) of the relative displacement
| infile_up | file name for displacement data above the fault |
| infile_down | base file name for displacement data below the fault |
| posfile_up | file name for position data above the fault |
| posfile_down | base file name for position data below the fault |
| outfilename | file name for the putput file |
| t0 | |
| nt | |
| dt | |
| x0 | minimum x-value |
| x1 | maximum x-value |
| nx | nr. of grid points in x |
| shift | shift output data by given abount (circular) |
| mult | interpolation steps between data points |
References get_disp_from_map_linear(), and read_line_to_map().
Referenced by main().


| void slip2rf | ( | const string & | infilebase_up, |
| const string & | infilebase_down, | ||
| const string & | outfilename, | ||
| int | t0, | ||
| int | nt, | ||
| int | dt, | ||
| double | x0, | ||
| double | x1, | ||
| int | nx, | ||
| double | thr | ||
| ) |
get the time for each trace when the displacement first exceeds a given threshold
References get_disp_from_map_linear(), and read_file_to_map().
Referenced by main().


| void slip2vtk2d | ( | const string & | infilebase_up, |
| const string & | infilebase_down, | ||
| const string & | outfilename, | ||
| int | t0, | ||
| int | nt, | ||
| int | dt, | ||
| double | tlen, | ||
| double | x0, | ||
| double | x1, | ||
| int | nx | ||
| ) |
convert a number of file pairs containing particle displacements above/below a 1D fault in a 2D medium to a vtk-file (rect. grid) of the relative displacement
| infilebase_up | base file name for data above the fault |
| infilebase_down | base file name for data below the fault |
| outfilename | file name for the putput file |
| t0 | |
| nt | |
| dt | |
| tlen | length of the output data in t-direction |
| x0 | minimum x-value |
| x1 | maximum x-value |
| nx | nr. of grid points in x |
References get_disp_from_map_linear(), read_file_to_map(), and write_vtk_header().
Referenced by main().


| void slip2vtk2d_rate | ( | const string & | infilebase_up, |
| const string & | infilebase_down, | ||
| const string & | outfilename, | ||
| int | t0, | ||
| int | nt, | ||
| int | dt, | ||
| double | tlen, | ||
| double | x0, | ||
| double | x1, | ||
| int | nx | ||
| ) |
convert a number of file pairs containing particle displacements above/below a 1D fault in a 2D medium to a vtk-file (rect. grid) of the relative displacement rate
| infilebase_up | base file name for data above the fault |
| infilebase_down | base file name for data below the fault |
| outfilename | file name for the putput file |
| t0 | |
| nt | |
| dt | |
| tlen | length of the output data in t-direction |
| x0 | minimum x-value |
| x1 | maximum x-value |
| nx | nr. of grid points in x |
References get_disp_from_map_linear(), read_file_to_map(), and write_vtk_header().
Referenced by main().


| void slip2vtk2d_rate_rs | ( | const string & | infile_up, |
| const string & | infile_down, | ||
| const string & | posfile_up, | ||
| const string & | posfile_down, | ||
| const string & | outfilename, | ||
| int | t0, | ||
| int | nt, | ||
| int | dt, | ||
| double | tlen, | ||
| double | x0, | ||
| double | x1, | ||
| int | nx | ||
| ) |
convert a pair of files containing particle displacements above/below a 1D fault and a pair of files containing the initial particle positions to a vtk-file (rect. grid) of the relative displacement rate
| infile_up | file name for displacement data above the fault |
| infile_down | base file name for displacement data below the fault |
| posfile_up | file name for position data above the fault |
| posfile_down | base file name for position data below the fault |
| outfilename | file name for the putput file |
| t0 | |
| nt | |
| dt | |
| tlen | length of the output data in t-direction |
| x0 | minimum x-value |
| x1 | maximum x-value |
| nx | nr. of grid points in x |
References get_disp_from_map_linear(), read_line_to_map(), and write_vtk_header().
Referenced by main().


| void slip_x2slip_t2d | ( | const string & | infilebase_up, |
| const string & | infilebase_down, | ||
| const string & | outfilename, | ||
| int | t0, | ||
| int | nt, | ||
| int | dt, | ||
| double | x0 | ||
| ) |
convert a number of file pairs containing particle displacements above/below a 1D fault in a 2D medium to a file which represents the time evolution of the displacement at a given point along the fault
| infilebase_up | base file name for data above the fault |
| infilebase_down | base file name for data below the fault |
| outfilename | file name for the putput file |
| t0 | |
| nt | |
| dt | |
| x0 | location / sample point |
References get_disp_from_map_linear(), and read_file_to_map().
Referenced by main().


| void vel2rf | ( | const string & | infilename_up, |
| const string & | infilename_down, | ||
| const string & | outfilename, | ||
| int | t0, | ||
| int | nt, | ||
| int | dt, | ||
| int | ofs, | ||
| double | x0, | ||
| double | x1, | ||
| int | nx, | ||
| double | px0, | ||
| double | px1, | ||
| int | npx, | ||
| double | thr | ||
| ) |
get the time for each trace when the displacement first exceeds a given threshold using velocity files as input
References get_disp_from_map_linear(), and read_line_to_map().
Referenced by main().

