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);
int TransferVecToPETSc(const double *const, Vec, void *, const int, const int)
Structure defining a simulation.
std::vector< double > stage_times
Structure containing the variables for time-integration with PETSc.
Class implementing interface with libROM.
PetscErrorCode PetscSetInitialGuessROM(SNES snes, Vec X, void *ctxt)