openmdao/core/total_jac.py
def par_deriv_input_setter(self, inds, imeta, mode):
        """
        Set -1's into the input vector in the parallel derivative case.

        Parameters
        ----------
        inds : tuple of int
            Total jacobian row or column indices.
        imeta : dict
            Dictionary of iteration metadata.
        mode : str
            Direction of derivative solution.

        Returns
        -------
        set
            Set of relevant system names.
        list of str or None
            List of vec_names or None if linear solve caching is inactive.
        int or None
            key used for storage of cached linear solve (if active, else None).
        """
        all_rel_systems = set()
        vec_names = set()

        for i in inds:
            rel_systems, vnames, _ = self.single_input_setter(i, imeta, mode)
            _update_rel_systems(all_rel_systems, rel_systems)
            if vnames is not None:
                vec_names.add(vnames[0])

        if vec_names:
            return all_rel_systems, sorted(vec_names), (inds[0], mode)
        else:
            return all_rel_systems, None, None

        Set -1's into the input vector in the parallel derivative case.

        Parameters
        ----------
        inds : tuple of int
            Total jacobian row or column indices.
        imeta : dict
            Dictionary of iteration metadata.
        mode : str
            Direction of derivative solution.

        Returns
        -------
        set
            Set of relevant system names.
        list of str or None
            List of vec_names or None if linear solve caching is inactive.
        int or None
            key used for storage of cached linear solve (if active, else None).
        
1's into the input vector in the parallel derivative case.
Parameters

inds : tuple of int
Total jacobian row or column indices.
imeta : dict
Dictionary of iteration metadata.
mode : str
Direction of derivative solution.

Returns

set
Set of relevant system names.
list of str or None
List of vec_names or None if linear solve caching is inactive.
int or None
key used for storage of cached linear solve (if active, else None).
1 ' s into the input vector in the parallel derivative case . Parameters inds : tuple of int Total jacobian row or column indices . imeta : dict Dictionary of iteration metadata . mode : str Direction of derivative solution . Returns set Set of relevant system names . list of str or None List of vec_names or None if linear solve caching is inactive . int or None key used for storage of cached linear solve ( if active else None ) .
def par_deriv_input_setter(self, inds, imeta, mode):
        all_rel_systems = set()
        vec_names = set()
        for i in inds:
            rel_systems, vnames, _ = self.single_input_setter(i, imeta, mode)
            _update_rel_systems(all_rel_systems, rel_systems)
            if vnames is not None:
                vec_names.add(vnames[0])
        if vec_names:
            return all_rel_systems, sorted(vec_names), (inds[0], mode)
        else:
            return all_rel_systems, None, None
def par_deriv_input_setter ( self , inds , imeta , mode ) : all_rel_systems = set ( ) vec_names = set ( ) for i in inds : rel_systems , vnames , _ = self . single_input_setter ( i , imeta , mode ) _update_rel_systems ( all_rel_systems , rel_systems ) if vnames is not None : vec_names . add ( vnames [ 0 ] ) if vec_names : return all_rel_systems , sorted ( vec_names ) , ( inds [ 0 ] , mode ) else : return all_rel_systems , None , None
Set -1's into the input vector in the parallel derivative case.
Set - 1 ' s into the input vector in the parallel derivative case .
"""
        Set -1's into the input vector in the parallel derivative case.

        Parameters
        ----------
        inds : tuple of int
            Total jacobian row or column indices.
        imeta : dict
            Dictionary of iteration metadata.
        mode : str
            Direction of derivative solution.

        Returns
        -------
        set
            Set of relevant system names.
        list of str or None
            List of vec_names or None if linear solve caching is inactive.
        int or None
            key used for storage of cached linear solve (if active, else None).
        """
self
inds
imeta
mode