Communication with MoS

The following C++ codes can be used for some models, such as Finite Element Analysis and Process Simulation, to communicate to the MoS:

double f(CVector &x){
       double t=0;
       set("fea\\Elements\\Property",x);
       call("Model,FEA_1");
       t=get("fea_1\\Weights\\Weight,1");
       return t;
}

Related Pages: