libpspm
fmu.cpp File Reference
#include <cassert>
#include "solver.h"
Include dependency graph for fmu.cpp:

Go to the source code of this file.

Functions

double phi (double r)
 

Function Documentation

◆ phi()

double phi ( double  r)

Definition at line 6 of file fmu.cpp.

6  {
7  return max(max(0.0,min(2*r,1.0)),min(r,2.0));
8 }
Here is the caller graph for this function: