fvbaseproblem.hh
Go to the documentation of this file.
217 throw std::runtime_error("Path to output directory '"+outputDir+"' exists but is not a directory");
485 << "Simulation time: " << executionTime << " seconds" << Simulator::humanReadableTime(executionTime)
487 << " Linearization time: " << linearizeTime << " seconds" << Simulator::humanReadableTime(linearizeTime)
491 << " Newton update time: " << updateTime << " seconds" << Simulator::humanReadableTime(updateTime)
493 << " Pre/postprocess time: " << prePostProcessTime << " seconds" << Simulator::humanReadableTime(prePostProcessTime)
497 << "First process' simulation CPU time: " << localCpuTime << " seconds" << Simulator::humanReadableTime(localCpuTime) << "\n"
500 << "Total CPU time: " << globalCpuTime << " seconds" << Simulator::humanReadableTime(globalCpuTime) << "\n"
Definition: restrictprolong.hh:142 Base class for all problems which use a finite volume spatial discretization. Definition: fvbaseproblem.hh:65 const Simulator & simulator() const Returns Simulator object used by the simulation. Definition: fvbaseproblem.hh:691 void writeOutput(bool verbose=true) Write the relevant secondary variables of the current solution into an VTK output file. Definition: fvbaseproblem.hh:783 void boundary(BoundaryRateVector &, const Context &, unsigned, unsigned) const Evaluate the boundary conditions for a boundary segment. Definition: fvbaseproblem.hh:325 void finalize() Called after the simulation has been run sucessfully. Definition: fvbaseproblem.hh:463 Simulator & simulator() Returns Simulator object used by the simulation. Definition: fvbaseproblem.hh:685 const Model & model() const Returns numerical model used for the problem. Definition: fvbaseproblem.hh:703 static void registerParameters() Registers all available parameters for the problem and the model. Definition: fvbaseproblem.hh:168 void source(RateVector &, const Context &, unsigned, unsigned) const Evaluate the source term for all phases within a given sub-control-volume. Definition: fvbaseproblem.hh:361 bool recycleFirstIterationStorage() const Return if the storage term of the first iteration is identical to the storage term for the solution o... Definition: fvbaseproblem.hh:193 unsigned maxTimeIntegrationFailures() const Returns the maximum number of subsequent failures for the time integration before giving up. Definition: fvbaseproblem.hh:568 unsigned markForGridAdaptation() Mark grid cells for refinement or coarsening. Definition: fvbaseproblem.hh:735 void serialize(Restarter &res) This method writes the complete state of the problem to the harddisk. Definition: fvbaseproblem.hh:754 void beginIteration() Called by the simulator before each Newton-Raphson iteration. Definition: fvbaseproblem.hh:430 void endTimeStep() Called by the simulator after each time integration. Definition: fvbaseproblem.hh:445 FvBaseProblem(Simulator &simulator) Definition: fvbaseproblem.hh:115 const GlobalPosition & boundingBoxMax() const The coordinate of the corner of the GridView's bounding box with the largest values. Definition: fvbaseproblem.hh:667 RestrictProlongOperator restrictProlongOperator() return restriction and prolongation operator Definition: fvbaseproblem.hh:723 void timeIntegration() Called by Opm::Simulator in order to do a time integration on the model. Definition: fvbaseproblem.hh:511 Model & model() Returns numerical model used for the problem. Definition: fvbaseproblem.hh:697 void endEpisode() Called when the end of an simulation episode is reached. Definition: fvbaseproblem.hh:453 void beginTimeStep() Called by the simulator before each time integration. Definition: fvbaseproblem.hh:424 static std::string helpPreamble(int, const char **argv) Returns the string that is printed before the list of command line parameters in the help message. Definition: fvbaseproblem.hh:231 void deserialize(Restarter &res) This method restores the complete state of the problem from disk. Definition: fvbaseproblem.hh:771 void prefetch(const Element &) const Allows to improve the performance by prefetching all data which is associated with a given element. Definition: fvbaseproblem.hh:293 Scalar extrusionFactor(const Context &, unsigned, unsigned) const Return how much the domain is extruded at a given sub-control volume. Definition: fvbaseproblem.hh:400 bool shouldWriteRestartFile() const Returns true if a restart file should be written to disk. Definition: fvbaseproblem.hh:615 Scalar nextTimeStepSize() const Called by Opm::Simulator whenever a solution for a time step has been computed and the simulation tim... Definition: fvbaseproblem.hh:590 Scalar minTimeStepSize() const Returns the minimum allowable size of a time step. Definition: fvbaseproblem.hh:561 static int handlePositionalParameter(std::set< std::string > &, std::string &errorMsg, int, const char **argv, int paramIdx, int) Handles positional command line parameters. Definition: fvbaseproblem.hh:270 void beginEpisode() Called at the beginning of an simulation episode. Definition: fvbaseproblem.hh:418 void initial(PrimaryVariables &, const Context &, unsigned, unsigned) const Evaluate the initial value for a control volume. Definition: fvbaseproblem.hh:378 std::string outputDir() const Determine the directory for simulation output. Definition: fvbaseproblem.hh:204 const VertexMapper & vertexMapper() const Returns the mapper for vertices to indices. Definition: fvbaseproblem.hh:673 void gridChanged() Handle changes of the grid. Definition: fvbaseproblem.hh:301 const GlobalPosition & boundingBoxMin() const The coordinate of the corner of the GridView's bounding box with the smallest values. Definition: fvbaseproblem.hh:660 static std::string briefDescription() Returns a human readable description of the problem for the help message. Definition: fvbaseproblem.hh:249 void endIteration() Called by the simulator after each Newton-Raphson update. Definition: fvbaseproblem.hh:436 void setNextTimeStepSize(Scalar dt) Impose the next time step size to be used externally. Definition: fvbaseproblem.hh:582 bool continueOnConvergenceError() const Returns if we should continue with a non-converged solution instead of giving up if we encounter a ti... Definition: fvbaseproblem.hh:576 void constraints(Constraints &, const Context &, unsigned, unsigned) const Evaluate the constraints for a control volume. Definition: fvbaseproblem.hh:342 void finishInit() Called by the Opm::Simulator in order to initialize the problem. Definition: fvbaseproblem.hh:286 const NewtonMethod & newtonMethod() const Returns object which implements the Newton method. Definition: fvbaseproblem.hh:715 const GridView & gridView() const The GridView which used by the problem. Definition: fvbaseproblem.hh:653 EmptyRestrictProlong RestrictProlongOperator Definition: fvbaseproblem.hh:101 NewtonMethod & newtonMethod() Returns object which implements the Newton method. Definition: fvbaseproblem.hh:709 bool shouldWriteOutput() const Returns true if the current solution should be written to disk (i.e. as a VTK file) Definition: fvbaseproblem.hh:629 void initialSolutionApplied() Callback used by the model to indicate that the initial solution has been determined for all degrees ... Definition: fvbaseproblem.hh:412 void advanceTimeLevel() Called by the simulator after everything which can be done about the current time step is finished an... Definition: fvbaseproblem.hh:637 VtkMultiWriter & defaultVtkWriter() const Method to retrieve the VTK writer which should be used to write the default ouput after each time ste... Definition: fvbaseproblem.hh:806 const ElementMapper & elementMapper() const Returns the mapper for elements to indices. Definition: fvbaseproblem.hh:679 static std::string humanReadableTime(Scalar timeInSeconds, bool isAmendment=true) Given a time step size in seconds, return it in a format which is more easily parsable by humans. Definition: simulator.hh:822 static unsigned maxThreads() Return the maximum number of threads of the current process. Definition: threadmanager.hh:118 void endWrite(bool onlyDiscard=false) Finalizes the current writer. Definition: vtkmultiwriter.hh:389 void deserialize(Restarter &res) Read the multi-writer's state from a restart file. Definition: vtkmultiwriter.hh:442 void gridChanged() Updates the internal data structures after mesh refinement. Definition: vtkmultiwriter.hh:165 void beginWrite(double t) Called whenever a new time step must be written. Definition: vtkmultiwriter.hh:179 void serialize(Restarter &res) Write the multi-writer's state to a restart file. Definition: vtkmultiwriter.hh:408 Declare the properties used by the infrastructure code of the finite volume discretizations. Definition: fvbaseprimaryvariables.hh:141 Definition: blackoilmodel.hh:72 Definition: blackoilboundaryratevector.hh:37 typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(.... Definition: propertysystem.hh:242 |