openmdao/core/problem.py
def run_model(self, case_prefix=None, reset_iter_counts=True):
        """
        Run the model by calling the root system's solve_nonlinear.

        Parameters
        ----------
        case_prefix : str or None
            Prefix to prepend to coordinates when recording.

        reset_iter_counts : bool
            If True and model has been run previously, reset all iteration counters.
        """
        if self._mode is None:
            raise RuntimeError("The `setup` method must be called before `run_model`.")

        if case_prefix:
            if not isinstance(case_prefix, str):
                raise TypeError("The 'case_prefix' argument should be a string.")
            self._recording_iter.prefix = case_prefix
        else:
            self._recording_iter.prefix = None

        if self.model.iter_count > 0 and reset_iter_counts:
            self.driver.iter_count = 0
            self.model._reset_iter_counts()

        self.final_setup()
        self.model._clear_iprint()
        self.model.run_solve_nonlinear()

        Run the model by calling the root system's solve_nonlinear.

        Parameters
        ----------
        case_prefix : str or None
            Prefix to prepend to coordinates when recording.

        reset_iter_counts : bool
            If True and model has been run previously, reset all iteration counters.
        
Run the model by calling the root system's solve_nonlinear.
Parameters

case_prefix : str or None
Prefix to prepend to coordinates when recording.

reset_iter_counts : bool
If True and model has been run previously, reset all iteration counters.
Run the model by calling the root system ' s solve_nonlinear . Parameters case_prefix : str or None Prefix to prepend to coordinates when recording . reset_iter_counts : bool If True and model has been run previously reset all iteration counters .
def run_model(self, case_prefix=None, reset_iter_counts=True):
        if self._mode is None:
            raise RuntimeError("The `setup` method must be called before `run_model`.")
        if case_prefix:
            if not isinstance(case_prefix, str):
                raise TypeError("The 'case_prefix' argument should be a string.")
            self._recording_iter.prefix = case_prefix
        else:
            self._recording_iter.prefix = None
        if self.model.iter_count > 0 and reset_iter_counts:
            self.driver.iter_count = 0
            self.model._reset_iter_counts()
        self.final_setup()
        self.model._clear_iprint()
        self.model.run_solve_nonlinear()
def run_model ( self , case_prefix = None , reset_iter_counts = True ) : if self . _mode is None : raise RuntimeError ( "The `setup` method must be called before `run_model`." ) if case_prefix : if not isinstance ( case_prefix , str ) : raise TypeError ( "The 'case_prefix' argument should be a string." ) self . _recording_iter . prefix = case_prefix else : self . _recording_iter . prefix = None if self . model . iter_count > 0 and reset_iter_counts : self . driver . iter_count = 0 self . model . _reset_iter_counts ( ) self . final_setup ( ) self . model . _clear_iprint ( ) self . model . run_solve_nonlinear ( )
Run the model by calling the root system's solve_nonlinear.
Run the model by calling the root system ' s solve_nonlinear .
"""
        Run the model by calling the root system's solve_nonlinear.

        Parameters
        ----------
        case_prefix : str or None
            Prefix to prepend to coordinates when recording.

        reset_iter_counts : bool
            If True and model has been run previously, reset all iteration counters.
        """
self
case_prefix
reset_iter_counts