openmdao/core/total_jac.py
def _check_voi_meta(name, parallel_deriv_color, matmat, simul_coloring):
    """
    Check the contents of the given metadata for incompatible options.

    An exception will be raised if options are incompatible.

    Parameters
    ----------
    name : str
        Name of the variable.
    parallel_deriv_color : str
        Color of parallel deriv grouping.
    matmat : bool
        If True, vectorize derivatives for this variable.
    simul_coloring : ndarray
        Array of colors. Each entry corresponds to a column or row of the total jacobian.
    """
    if simul_coloring:
        if parallel_deriv_color:
            raise RuntimeError("Using both simul_coloring and parallel_deriv_color with "
                               "variable '%s' is not supported." % name)
        if matmat:
            raise RuntimeError("Using both simul_coloring and vectorize_derivs with "
                               "variable '%s' is not supported." % name)

    Check the contents of the given metadata for incompatible options.

    An exception will be raised if options are incompatible.

    Parameters
    ----------
    name : str
        Name of the variable.
    parallel_deriv_color : str
        Color of parallel deriv grouping.
    matmat : bool
        If True, vectorize derivatives for this variable.
    simul_coloring : ndarray
        Array of colors. Each entry corresponds to a column or row of the total jacobian.
    
Check the contents of the given metadata for incompatible options.
An exception will be raised if options are incompatible.

Parameters

name : str
Name of the variable.
parallel_deriv_color : str
Color of parallel deriv grouping.
matmat : bool
If True, vectorize derivatives for this variable.
simul_coloring : ndarray
Array of colors. Each entry corresponds to a column or row of the total jacobian.
Check the contents of the given metadata for incompatible options . An exception will be raised if options are incompatible . Parameters name : str Name of the variable . parallel_deriv_color : str Color of parallel deriv grouping . matmat : bool If True vectorize derivatives for this variable . simul_coloring : ndarray Array of colors . Each entry corresponds to a column or row of the total jacobian .
def _check_voi_meta(name, parallel_deriv_color, matmat, simul_coloring):
    if simul_coloring:
        if parallel_deriv_color:
            raise RuntimeError("Using both simul_coloring and parallel_deriv_color with "
                               "variable '%s' is not supported." % name)
        if matmat:
            raise RuntimeError("Using both simul_coloring and vectorize_derivs with "
                               "variable '%s' is not supported." % name)
def _check_voi_meta ( name , parallel_deriv_color , matmat , simul_coloring ) : if simul_coloring : if parallel_deriv_color : raise RuntimeError ( "Using both simul_coloring and parallel_deriv_color with " "variable '%s' is not supported." % name ) if matmat : raise RuntimeError ( "Using both simul_coloring and vectorize_derivs with " "variable '%s' is not supported." % name )
Check the contents of the given metadata for incompatible options.
Check the contents of the given metadata for incompatible options .
"""
    Check the contents of the given metadata for incompatible options.

    An exception will be raised if options are incompatible.

    Parameters
    ----------
    name : str
        Name of the variable.
    parallel_deriv_color : str
        Color of parallel deriv grouping.
    matmat : bool
        If True, vectorize derivatives for this variable.
    simul_coloring : ndarray
        Array of colors. Each entry corresponds to a column or row of the total jacobian.
    """
name
parallel_deriv_color
matmat
simul_coloring