ModelServer
-
class ModelServer : public feasst::ModelTwoBody
Establish a server to obtain the interaction potential from a client. The client receives byte strings which are the following three csv,
squared_distance, type1, type2
where the squared_distance is the square of the distance between the centers of two sites, and the types are the types of the sites (see Configuration).
Arguments
hard_sphere_threshold: when r < threshold*sigma, return NEAR_INFINITY (default: 0.2).
Server arguments.