Solution#

class reservoirflow.solutions.Solution(model, sparse)#

Bases: ABC

Abstract solution class.

Attention

This is an abstract class and can’t be instantiated. This class is only used as a parent for other classes of solutions submodules.

Returns:

Solution object.

Return type:

Solution

Construct solution object.

Parameters:
  • model (Model) – a model object from models module.

  • sparse (bool) – using sparse computing for a better performance.

Methods

run()

Solve multiple timesteps.

solve()

Solve a single timestep.


Comments πŸ’¬#

Feel free to make a comment, ask a question, or share your opinion about this specific content. Please keep in mind the Commenting Guidelines βš–.