fvbaseproblem.hh
Go to the documentation of this file.
204 if (Parameters::Get<Parameters::EnableStorageCache>() && asImp_().recycleFirstIterationStorage()) {
Definition: restrictprolong.hh:142 Base class for all problems which use a finite volume spatial discretization. Definition: fvbaseproblem.hh:69 static int handlePositionalParameter(std::function< void(const std::string &, const std::string &)>, std::set< std::string > &, std::string &errorMsg, int, const char **argv, int paramIdx, int) Handles positional command line parameters. Definition: fvbaseproblem.hh:266 const Simulator & simulator() const Returns Simulator object used by the simulation. Definition: fvbaseproblem.hh:698 void writeOutput(bool verbose=true) Write the relevant secondary variables of the current solution into an VTK output file. Definition: fvbaseproblem.hh:792 void boundary(BoundaryRateVector &, const Context &, unsigned, unsigned) const Evaluate the boundary conditions for a boundary segment. Definition: fvbaseproblem.hh:319 void finalize() Called after the simulation has been run sucessfully. Definition: fvbaseproblem.hh:457 Simulator & simulator() Returns Simulator object used by the simulation. Definition: fvbaseproblem.hh:692 const Model & model() const Returns numerical model used for the problem. Definition: fvbaseproblem.hh:710 static void registerParameters() Registers all available parameters for the problem and the model. Definition: fvbaseproblem.hh:167 void source(RateVector &, const Context &, unsigned, unsigned) const Evaluate the source term for all phases within a given sub-control-volume. Definition: fvbaseproblem.hh:355 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:192 unsigned maxTimeIntegrationFailures() const Returns the maximum number of subsequent failures for the time integration before giving up. Definition: fvbaseproblem.hh:574 unsigned markForGridAdaptation() Mark grid cells for refinement or coarsening. Definition: fvbaseproblem.hh:742 void serialize(Restarter &res) This method writes the complete state of the problem to the harddisk. Definition: fvbaseproblem.hh:761 void beginIteration() Called by the simulator before each Newton-Raphson iteration. Definition: fvbaseproblem.hh:424 unsigned intensiveQuantityHistorySize() const Returns the required history size for intensive quantities cache. Definition: fvbaseproblem.hh:202 void endTimeStep() Called by the simulator after each time integration. Definition: fvbaseproblem.hh:439 FvBaseProblem(Simulator &simulator) Definition: fvbaseproblem.hh:119 const GlobalPosition & boundingBoxMax() const The coordinate of the corner of the GridView's bounding box with the largest values. Definition: fvbaseproblem.hh:674 RestrictProlongOperator restrictProlongOperator() return restriction and prolongation operator Definition: fvbaseproblem.hh:730 void timeIntegration() Called by Opm::Simulator in order to do a time integration on the model. Definition: fvbaseproblem.hh:514 Model & model() Returns numerical model used for the problem. Definition: fvbaseproblem.hh:704 void endEpisode() Called when the end of an simulation episode is reached. Definition: fvbaseproblem.hh:447 void beginTimeStep() Called by the simulator before each time integration. Definition: fvbaseproblem.hh:418 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:229 void deserialize(Restarter &res) This method restores the complete state of the problem from disk. Definition: fvbaseproblem.hh:779 void prefetch(const Element &) const Allows to improve the performance by prefetching all data which is associated with a given element. Definition: fvbaseproblem.hh:291 Scalar extrusionFactor(const Context &, unsigned, unsigned) const Return how much the domain is extruded at a given sub-control volume. Definition: fvbaseproblem.hh:394 bool shouldWriteRestartFile() const Returns true if a restart file should be written to disk. Definition: fvbaseproblem.hh:622 Scalar nextTimeStepSize() const Called by Opm::Simulator whenever a solution for a time step has been computed and the simulation tim... Definition: fvbaseproblem.hh:596 Scalar minTimeStepSize() const Returns the minimum allowable size of a time step. Definition: fvbaseproblem.hh:567 void beginEpisode() Called at the beginning of an simulation episode. Definition: fvbaseproblem.hh:412 void initial(PrimaryVariables &, const Context &, unsigned, unsigned) const Evaluate the initial value for a control volume. Definition: fvbaseproblem.hh:372 std::string outputDir() const Determine the directory for simulation output. Definition: fvbaseproblem.hh:218 const VertexMapper & vertexMapper() const Returns the mapper for vertices to indices. Definition: fvbaseproblem.hh:680 void gridChanged() Handle changes of the grid. Definition: fvbaseproblem.hh:299 const GlobalPosition & boundingBoxMin() const The coordinate of the corner of the GridView's bounding box with the smallest values. Definition: fvbaseproblem.hh:667 static std::string briefDescription() Returns a human readable description of the problem for the help message. Definition: fvbaseproblem.hh:245 void endIteration() Called by the simulator after each Newton-Raphson update. Definition: fvbaseproblem.hh:430 void setNextTimeStepSize(Scalar dt) Impose the next time step size to be used externally. Definition: fvbaseproblem.hh:588 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:582 void constraints(Constraints &, const Context &, unsigned, unsigned) const Evaluate the constraints for a control volume. Definition: fvbaseproblem.hh:336 void finishInit() Called by the Opm::Simulator in order to initialize the problem. Definition: fvbaseproblem.hh:284 const NewtonMethod & newtonMethod() const Returns object which implements the Newton method. Definition: fvbaseproblem.hh:722 const GridView & gridView() const The GridView which used by the problem. Definition: fvbaseproblem.hh:660 EmptyRestrictProlong RestrictProlongOperator Definition: fvbaseproblem.hh:105 NewtonMethod & newtonMethod() Returns object which implements the Newton method. Definition: fvbaseproblem.hh:716 bool shouldWriteOutput() const Returns true if the current solution should be written to disk (i.e. as a VTK file) Definition: fvbaseproblem.hh:636 void initialSolutionApplied() Callback used by the model to indicate that the initial solution has been determined for all degrees ... Definition: fvbaseproblem.hh:406 void advanceTimeLevel() Called by the simulator after everything which can be done about the current time step is finished an... Definition: fvbaseproblem.hh:644 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:816 const ElementMapper & elementMapper() const Returns the mapper for elements to indices. Definition: fvbaseproblem.hh:686 static unsigned maxThreads() Return the maximum number of threads of the current process. Definition: threadmanager.hpp:66 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. Definition: fvbaseprimaryvariables.hh:141 auto Get(bool errorIfNotRegistered=true) Retrieve a runtime parameter. Definition: parametersystem.hpp:187 Definition: blackoilmodel.hh:79 Definition: blackoilboundaryratevector.hh:39 std::string humanReadableTime(double timeInSeconds, bool isAmendment=true) Given a time step size in seconds, return it in a format which is more easily parsable by humans. std::string simulatorOutputDir() Determine and check the configured directory for simulation output. 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:233 std::string to_string(const ConvergenceReport::ReservoirFailure::Type t) Specify the maximum size of a time integration [s]. Definition: fvbaseparameters.hh:106 |