24 int nsims = context->
nsims;
28 double stage_time = context->
t_start;
32 stage_time += context->
dt;
37 printf(
"libROM: Predicted ROM intial guess (time %1.4e), wallclock time: %f.\n",
41 for (
int ns = 0; ns < nsims; ns++) {
46 PetscFunctionReturn(0);
std::vector< double > stage_times
Class implementing interface with libROM.
int TransferVecToPETSc(const double *const, Vec, void *, const int, const int)
Structure containing the variables for time-integration with PETSc.
Structure defining a simulation.
PetscErrorCode PetscSetInitialGuessROM(SNES, Vec, void *)