Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultiCellDS saves elapsed_time_in_phase twice? #229

Open
drbergman opened this issue Apr 25, 2024 · 0 comments
Open

MultiCellDS saves elapsed_time_in_phase twice? #229

drbergman opened this issue Apr 25, 2024 · 0 comments

Comments

@drbergman
Copy link
Contributor

As best I can tell, elapsed_time_in_phase is being saved twice:

  1. std::fwrite( &( pCell->phenotype.cycle.data.elapsed_time_in_phase ) , sizeof(double) , 1 , fp );
  2. std::fwrite( &( pCell->phenotype.cycle.data.elapsed_time_in_phase ) , sizeof(double) , 1 , fp );

Note: these two are appended to the list of labels in the output xml here:

  1. name = "elapsed_time_in_phase";
    units = "min";
    size = 1;
    data_names.push_back( name );
    data_units.push_back(units);
    data_sizes.push_back( size );
    data_start_indices.push_back( index );
    cell_data_size += size;
    index += size;
  2. name = "elapsed_time_in_phase";
    units = "min";
    size = 1;
    data_names.push_back( name );
    data_units.push_back(units);
    data_sizes.push_back( size );
    data_start_indices.push_back( index );
    cell_data_size += size;
    index += size;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant