Inlet and outlet boundary conditions based on the one-side modification of the Riemann problem. Case the conditions by preference of pressure.