# von Mises (step 1)

von Mises yield criterion (step 1)

    template <typename T>
    inline __host__ __device__ void mat_yield_von_mises_1(T shear, T sigy0, T* sig_eff, T* stress,
                                                 T* deps, int* yield)

## Parameters

#### `shear`

- Input: Shear

#### `sigy0`

- Input: Current yield stress

#### `sig_eff`

- Output: Effective stress

#### `stress`

- Input: Stress tensor

#### `deps`

- Output: Strain increment

#### `yield`

- Output: Flag to indicate if we have plasticity or not