fvbaseproblem.hh
Go to the documentation of this file.
218 throw std::runtime_error("Path to output directory '"+outputDir+"' exists but is not a directory");
486 << "Simulation time: " << executionTime << " seconds" << Simulator::humanReadableTime(executionTime)
488 << " Linearization time: " << linearizeTime << " seconds" << Simulator::humanReadableTime(linearizeTime)
492 << " Newton update time: " << updateTime << " seconds" << Simulator::humanReadableTime(updateTime)
494 << " Pre/postprocess time: " << prePostProcessTime << " seconds" << Simulator::humanReadableTime(prePostProcessTime)
498 << "First process' simulation CPU time: " << localCpuTime << " seconds" << Simulator::humanReadableTime(localCpuTime) << "\n"
501 << "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:66 const Simulator & simulator() const Returns Simulator object used by the simulation. Definition: fvbaseproblem.hh:692 void writeOutput(bool verbose=true) Write the relevant secondary variables of the current solution into an VTK output file. Definition: fvbaseproblem.hh:784 void boundary(BoundaryRateVector &, const Context &, unsigned, unsigned) const Evaluate the boundary conditions for a boundary segment. Definition: fvbaseproblem.hh:326 void finalize() Called after the simulation has been run sucessfully. Definition: fvbaseproblem.hh:464 Simulator & simulator() Returns Simulator object used by the simulation. Definition: fvbaseproblem.hh:686 const Model & model() const Returns numerical model used for the problem. Definition: fvbaseproblem.hh:704 static void registerParameters() Registers all available parameters for the problem and the model. Definition: fvbaseproblem.hh:169 void source(RateVector &, const Context &, unsigned, unsigned) const Evaluate the source term for all phases within a given sub-control-volume. Definition: fvbaseproblem.hh:362 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:194 unsigned maxTimeIntegrationFailures() const Returns the maximum number of subsequent failures for the time integration before giving up. Definition: fvbaseproblem.hh:569 unsigned markForGridAdaptation() Mark grid cells for refinement or coarsening. Definition: fvbaseproblem.hh:736 void serialize(Restarter &res) This method writes the complete state of the problem to the harddisk. Definition: fvbaseproblem.hh:755 void beginIteration() Called by the simulator before each Newton-Raphson iteration. Definition: fvbaseproblem.hh:431 void endTimeStep() Called by the simulator after each time integration. Definition: fvbaseproblem.hh:446 FvBaseProblem(Simulator &simulator) Definition: fvbaseproblem.hh:116 const GlobalPosition & boundingBoxMax() const The coordinate of the corner of the GridView's bounding box with the largest values. Definition: fvbaseproblem.hh:668 RestrictProlongOperator restrictProlongOperator() return restriction and prolongation operator Definition: fvbaseproblem.hh:724 void timeIntegration() Called by Opm::Simulator in order to do a time integration on the model. Definition: fvbaseproblem.hh:512 Model & model() Returns numerical model used for the problem. Definition: fvbaseproblem.hh:698 void endEpisode() Called when the end of an simulation episode is reached. Definition: fvbaseproblem.hh:454 void beginTimeStep() Called by the simulator before each time integration. Definition: fvbaseproblem.hh:425 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:232 void deserialize(Restarter &res) This method restores the complete state of the problem from disk. Definition: fvbaseproblem.hh:772 void prefetch(const Element &) const Allows to improve the performance by prefetching all data which is associated with a given element. Definition: fvbaseproblem.hh:294 Scalar extrusionFactor(const Context &, unsigned, unsigned) const Return how much the domain is extruded at a given sub-control volume. Definition: fvbaseproblem.hh:401 bool shouldWriteRestartFile() const Returns true if a restart file should be written to disk. Definition: fvbaseproblem.hh:616 Scalar nextTimeStepSize() const Called by Opm::Simulator whenever a solution for a time step has been computed and the simulation tim... Definition: fvbaseproblem.hh:591 Scalar minTimeStepSize() const Returns the minimum allowable size of a time step. Definition: fvbaseproblem.hh:562 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:271 void beginEpisode() Called at the beginning of an simulation episode. Definition: fvbaseproblem.hh:419 void initial(PrimaryVariables &, const Context &, unsigned, unsigned) const Evaluate the initial value for a control volume. Definition: fvbaseproblem.hh:379 std::string outputDir() const Determine the directory for simulation output. Definition: fvbaseproblem.hh:205 const VertexMapper & vertexMapper() const Returns the mapper for vertices to indices. Definition: fvbaseproblem.hh:674 void gridChanged() Handle changes of the grid. Definition: fvbaseproblem.hh:302 const GlobalPosition & boundingBoxMin() const The coordinate of the corner of the GridView's bounding box with the smallest values. Definition: fvbaseproblem.hh:661 static std::string briefDescription() Returns a human readable description of the problem for the help message. Definition: fvbaseproblem.hh:250 void endIteration() Called by the simulator after each Newton-Raphson update. Definition: fvbaseproblem.hh:437 void setNextTimeStepSize(Scalar dt) Impose the next time step size to be used externally. Definition: fvbaseproblem.hh:583 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:577 void constraints(Constraints &, const Context &, unsigned, unsigned) const Evaluate the constraints for a control volume. Definition: fvbaseproblem.hh:343 void finishInit() Called by the Opm::Simulator in order to initialize the problem. Definition: fvbaseproblem.hh:287 const NewtonMethod & newtonMethod() const Returns object which implements the Newton method. Definition: fvbaseproblem.hh:716 const GridView & gridView() const The GridView which used by the problem. Definition: fvbaseproblem.hh:654 EmptyRestrictProlong RestrictProlongOperator Definition: fvbaseproblem.hh:102 NewtonMethod & newtonMethod() Returns object which implements the Newton method. Definition: fvbaseproblem.hh:710 bool shouldWriteOutput() const Returns true if the current solution should be written to disk (i.e. as a VTK file) Definition: fvbaseproblem.hh:630 void initialSolutionApplied() Callback used by the model to indicate that the initial solution has been determined for all degrees ... Definition: fvbaseproblem.hh:413 void advanceTimeLevel() Called by the simulator after everything which can be done about the current time step is finished an... Definition: fvbaseproblem.hh:638 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:807 const ElementMapper & elementMapper() const Returns the mapper for elements to indices. Definition: fvbaseproblem.hh:680 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. Declare the properties used by the infrastructure code of the finite volume discretizations. auto Get(bool errorIfNotRegistered=true) Retrieve a runtime parameter. Definition: parametersystem.hh:840 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:235 Specify the maximum size of a time integration [s]. Definition: fvbaseparameters.hh:106 |