# von Mises (step 2)

von Mises yield criterion (step 2)

    template <typename T>
    inline __host__ __device__ void mat_yield_von_mises_2(T shear, T sigy0, T sigy1, T* sig_eff, T* stress,
                                                 T* deps, T* epsp, T* depsp)

## Parameters

#### `shear`

- Input: Shear

#### `sigy0`

- Input: Current yield stress

#### `sigy1`

- Input: Yield stress at strain increment

#### `sig_eff`

- Output: Effective stress

#### `stress`

- Input: Stress tensor

#### `deps`

- Output: Strain increment

#### `epsp`

- Output: Effective plastic strain

#### `depsp`

- Output: Strain incremment