This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
2013:groups:sm:blha:api [2013/06/13 19:04] johann_felix.graf_von_sodenfraunhofen small correction |
2013:groups:sm:blha:api [2013/07/10 14:14] johann_felix.graf_von_sodenfraunhofen Fix call by value/call by reference in OLP_SetParameter |
||
---|---|---|---|
Line 15: | Line 15: | ||
void OLP_SetParameter(char* line, double* real_part, double *cmplx_part, int* status); | void OLP_SetParameter(char* line, double* real_part, double *cmplx_part, int* status); | ||
void OLP_EvalSubProcess2(int l, double* mom, double mu, double* r, int* status); | void OLP_EvalSubProcess2(int l, double* mom, double mu, double* r, int* status); | ||
- | void OLP_Info(char[15] olp_name, char[15] olp_version, char[255] cite_message); | + | void OLP_Info(char olp_name[15], char olp_version[15], char cite_message[255]); |
#ifdef __cplusplus | #ifdef __cplusplus | ||
Line 33: | Line 33: | ||
void OLP_Start(char* fname, int &ierr); | void OLP_Start(char* fname, int &ierr); | ||
void OLP_SetParameter(char* line, double& real_part, double& cmplx_part, int& status); | void OLP_SetParameter(char* line, double& real_part, double& cmplx_part, int& status); | ||
- | void OLP_EvalSubProcess2(int l, double& mom, double& mu, double& r, int& status); | + | void OLP_EvalSubProcess2(int l, double mom[], double mu, double r[], int& status); |
- | void OLP_Info(char[15] olp_name, char[15] olp_version, char[255] cite_message); | + | void OLP_Info(char olp_name[15], char olp_version[15], char cite_message[255]); |
} | } | ||
Line 80: | Line 80: | ||
implicit none | implicit none | ||
character(kind=c_char,len=1), intent(in) :: variable_name | character(kind=c_char,len=1), intent(in) :: variable_name | ||
- | real(kind=c_double), value, intent(in) :: real_part, complex_part | + | real(kind=c_double), intent(in) :: real_part, complex_part |
integer(kind=c_int), intent(out) :: success | integer(kind=c_int), intent(out) :: success | ||