| 3395 | } // putToDatabase |
| 3396 | |
| 3397 | void |
| 3398 | IIMethod::writeFEDataToRestartFile(const std::string& restart_dump_dirname, unsigned int time_step_number) |
| 3399 | { |
| 3400 | for (unsigned int part = 0; part < d_num_parts; ++part) |
| 3401 | { |
| 3402 | const std::string& file_name = libmesh_restart_file_name( |
| 3403 | d_object_name, restart_dump_dirname, time_step_number, part, d_libmesh_restart_file_extension); |
| 3404 | const XdrMODE xdr_mode = (d_libmesh_restart_file_extension == "xdr" ? ENCODE : WRITE); |
| 3405 | const int write_mode = EquationSystems::WRITE_DATA | EquationSystems::WRITE_ADDITIONAL_DATA; |
| 3406 | d_equation_systems[part]->write(file_name, xdr_mode, write_mode, /*partition_agnostic*/ true); |
| 3407 | } |
| 3408 | return; |
| 3409 | } // writeFEDataToRestartFile |
| 3410 | |
| 3411 | /////////////////////////////// PROTECTED //////////////////////////////////// |
| 3412 |
no test coverage detected