opm-simulators/opm/autodiff
Atgeirr Flø Rasmussen c96a33124c Refactor addWellEq().
The method has been split in three parts:
        computeWellFlux(const SolutionState& state,
                        const std::vector<ADB>& mob_perfcells,
                        const std::vector<ADB>& b_perfcells,
                        V& aliveWells,
                        std::vector<ADB>& cq_s);

        void
        updatePerfPhaseRatesAndPressures(const std::vector<ADB>& cq_s,
                                         const SolutionState& state,
                                         WellState& xw);

        void
        addWellFluxEq(const std::vector<ADB>& cq_s,
                      const SolutionState& state);

This reduces the function length, although most of the content of addWellEq()
now is in computeWellFlux(), so that function is still quite long. It also
allows us to use smaller sets of function arguments, which makes methods easier
to understand.

Finally, it makes it easier to create derived models with custom behaviour.
2015-06-22 11:34:10 +02:00
..
AutoDiff.hpp Rename AutoDiff::Forward -> Opm::AutoDiff. 2013-09-19 11:32:47 +02:00
AutoDiffBlock.hpp Re-add copying overload of AutoDiffBlock::function(). 2015-03-19 11:46:48 +01:00
AutoDiffHelpers.hpp Make vertcatCollapseJacs() handle constants properly. 2015-03-24 09:48:31 +01:00
BackupRestore.hpp fixed: use size_t and not unsigned long 2015-04-14 10:25:21 +02:00
BlackoilModel.hpp Moved SolutionState to ModelTraits. 2015-05-25 00:46:28 +02:00
BlackoilModelBase_impl.hpp Refactor addWellEq(). 2015-06-22 11:34:10 +02:00
BlackoilModelBase.hpp Refactor addWellEq(). 2015-06-22 11:34:10 +02:00
BlackoilModelEnums.hpp Add Next enum member for later extension. 2015-05-26 11:41:54 +02:00
BlackoilModelParameters.cpp using lower case for solve_wellEq_initially_ 2015-06-16 17:03:53 +02:00
BlackoilModelParameters.hpp using lower case for solve_wellEq_initially_ 2015-06-16 17:03:53 +02:00
BlackoilPropsAdFromDeck.cpp Merge pull request #324 from andlaus/implement_temperature_dependent_density 2015-03-26 15:10:28 +01:00
BlackoilPropsAdFromDeck.hpp Removed extra overload of relperm(). 2015-03-09 09:40:30 +01:00
BlackoilPropsAdInterface.cpp Added abstract class BlackoilPropsAdInterface. 2013-05-22 10:56:14 +02:00
BlackoilPropsAdInterface.hpp Removed extra overload of relperm(). 2015-03-09 09:40:30 +01:00
CPRPreconditioner.hpp Update copyright notices 2015-05-20 09:26:25 +02:00
DuneMatrix.hpp bugfix, Mismatched free() / delete / delete [] in DuneMatrix due to use of new instead 2014-10-09 14:06:02 +02:00
ExtractParallelGridInformationToISTL.cpp Moved output parameters to the end of the list in extractParallelGridInformationToISTL 2015-02-12 10:41:44 +01:00
ExtractParallelGridInformationToISTL.hpp Moved output parameters to the end of the list in extractParallelGridInformationToISTL 2015-02-12 10:41:44 +01:00
fastSparseProduct.hpp [cleanup] remove commented code. 2014-12-05 14:50:55 +01:00
GeoProps.hpp Distribute the geology information. 2015-05-07 12:21:06 +02:00
GridHelpers.cpp Moves functions that do not depend on Eigen to Opm::UgGridHelpers. 2015-02-23 12:24:40 +01:00
GridHelpers.hpp Moves include of iterterator facades to cornerpoint 2015-03-02 16:22:22 +01:00
ImpesTPFAAD.cpp std::runtime_error --> LinearSolverProblem when linear solver was not converged. 2015-04-16 11:41:28 +02:00
ImpesTPFAAD.hpp Removed extra overload of relperm(). 2015-03-09 09:40:30 +01:00
LinearisedBlackoilResidual.cpp Adding size function in LinearisedBlackoilResidual. 2014-05-23 13:40:44 +02:00
LinearisedBlackoilResidual.hpp Adding size function in LinearisedBlackoilResidual. 2014-05-23 13:40:44 +02:00
NewtonIterationBlackoilCPR.cpp Add missing include. 2015-06-19 10:53:33 +02:00
NewtonIterationBlackoilCPR.hpp Update copyright notices 2015-05-20 09:26:25 +02:00
NewtonIterationBlackoilInterface.hpp Add access to the underlying information about the parallelization. 2015-02-12 10:41:43 +01:00
NewtonIterationBlackoilInterleaved.cpp Move forming interleaved matrix to own function/ 2015-06-19 11:33:30 +02:00
NewtonIterationBlackoilInterleaved.hpp Move parallel overload into HAVE_MPI block. 2015-06-19 14:06:27 +02:00
NewtonIterationBlackoilSimple.cpp std::runtime_error --> LinearSolverProblem when linear solver was not converged. 2015-04-16 11:41:28 +02:00
NewtonIterationBlackoilSimple.hpp Store the boost::any of ParallelIstlInformation by value. 2015-02-12 14:04:53 +01:00
NewtonIterationUtilities.cpp Move functions needed by several NewtonIteration-classes to separate file. 2015-06-19 10:53:33 +02:00
NewtonIterationUtilities.hpp Move functions needed by several NewtonIteration-classes to separate file. 2015-06-19 10:53:33 +02:00
NewtonSolver_impl.hpp Use unique_ptr instead of shared and raw pointers. 2015-05-29 14:57:49 +02:00
NewtonSolver.hpp Use unique_ptr instead of shared and raw pointers. 2015-05-29 14:57:49 +02:00
opm-autodiff_doxygen_main.hpp Documentation refinement. Added main doc file. 2013-09-19 14:45:40 +02:00
RateConverter.hpp Removing extra overloads of rsSat() and rvSat(). 2015-03-09 09:40:30 +01:00
RedistributeDataHandles.hpp Fix unsigned/signed comparison warning. 2015-05-28 14:07:25 +02:00
SimulatorBase_impl.hpp correcting typo in 'to large' 2015-06-16 17:03:53 +02:00
SimulatorBase.hpp Create solver and model parameters only once. 2015-06-01 13:07:45 +02:00
SimulatorFullyImplicitBlackoil.hpp some stylistic changes 2015-05-29 12:35:56 +02:00
SimulatorFullyImplicitBlackoilOutput.cpp BlackoilOutputWriter: fix restore when last step is selected. 2015-04-24 10:53:23 +02:00
SimulatorFullyImplicitBlackoilOutput.hpp Revert "also pass the deck to the output writer" 2015-03-31 12:11:45 +02:00
SimulatorIncompTwophaseAd.cpp replace all boost:: smart pointers by their std:: equivalents 2014-05-02 16:17:54 +02:00
SimulatorIncompTwophaseAd.hpp replace all boost:: smart pointers by their std:: equivalents 2014-05-02 16:17:54 +02:00
TransportSolverTwophaseAd.cpp std::runtime_error --> LinearSolverProblem when linear solver was not converged. 2015-04-16 11:41:28 +02:00
TransportSolverTwophaseAd.hpp Rename AutoDiff::ForwardBlock -> Opm::AutoDiffBlock. 2013-09-19 12:53:28 +02:00
WellDensitySegmented.cpp Merge branch 'master' into new_well_formulation 2014-03-20 10:04:45 +01:00
WellDensitySegmented.hpp Merge branch 'master' into new_well_formulation 2014-03-20 10:04:45 +01:00
WellStateFullyImplicitBlackoil.hpp Use the average well block pressure when evaluating the properties 2015-02-19 09:58:17 +01:00