This function provides a smooth ceiling function appropriate for capping a profile at a solid solubility level.
Parameters: C
C is a field or a function
is a variable