fn init_data<'a>(data_name: &'a str) -> (SetupData<'a>, Vec<Vec<usize>>, Vec<Vec<usize>>) {
    let setup_data = SetupData::new(data_name);

    let times = read_data(format!("{}/{}.times", SAMPLES_FOLDER, setup_data.base_name), 2, setup_data.time_steps);
    let data = read_data(format!("{}/{}.input", SAMPLES_FOLDER, setup_data.base_name), setup_data.dim_count, setup_data.data_size);
    
    (setup_data, data, times)
}
/// Initializes the data from the provided data formats using the `data_name` parameter for each file start
Initializes the data from the provided data formats using the `data_name` parameter for each file start
Initializes the data from the provided data formats using the ` data_name ` parameter for each file start
fn init_data<'a>(data_name: &'a str) -> (SetupData<'a>, Vec<Vec<usize>>, Vec<Vec<usize>>) {
    let setup_data = SetupData::new(data_name);
    let times = read_data(format!("{}/{}.times", SAMPLES_FOLDER, setup_data.base_name), 2, setup_data.time_steps);
    let data = read_data(format!("{}/{}.input", SAMPLES_FOLDER, setup_data.base_name), setup_data.dim_count, setup_data.data_size);
    (setup_data, data, times)
}
fn init_data < ' a > ( data_name : & ' a str ) -> ( SetupData < ' a > , Vec < Vec < usize > > , Vec < Vec < usize > > ) { let setup_data = SetupData :: new ( data_name ) ; let times = read_data ( format ! ( " " SAMPLES_FOLDER setup_data base_name ) , 2 , setup_data . time_steps ) ; let data = read_data ( format ! ( " " SAMPLES_FOLDER setup_data base_name ) , setup_data . dim_count , setup_data . data_size ) ; ( setup_data , data , times ) }
Initializes the data from the provided data formats using the `data_name` parameter for each file start
Initializes the data from the provided data formats using the ` data_name ` parameter for each file start
data_name
&'a str
data_name
&'a str