Changeset 00c2141 in sasview
- Timestamp:
- Dec 7, 2011 3:12:39 PM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 2605da22
- Parents:
- b1c3295
- Location:
- sansmodels/src/sans/models/c_models
- Files:
-
- 49 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/c_models/CBCCrystalModel.cpp
rb1c3295 r00c2141 196 196 { 197 197 PyArrayObject *result; 198 int i, j,x_len, y_len, dims[1];198 int i, x_len, y_len, dims[1]; 199 199 //check validity of input vectors 200 200 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 395 395 static PyObject * calculate_ER(CBCCrystalModel *self) { 396 396 397 PyObject* pars;398 int npars;399 400 397 // Get parameters 401 398 -
sansmodels/src/sans/models/c_models/CBarBellModel.cpp
rb1c3295 r00c2141 198 198 { 199 199 PyArrayObject *result; 200 int i, j,x_len, y_len, dims[1];200 int i, x_len, y_len, dims[1]; 201 201 //check validity of input vectors 202 202 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 399 399 static PyObject * calculate_ER(CBarBellModel *self) { 400 400 401 PyObject* pars;402 int npars;403 404 401 // Get parameters 405 402 -
sansmodels/src/sans/models/c_models/CBinaryHSModel.cpp
rb1c3295 r00c2141 188 188 { 189 189 PyArrayObject *result; 190 int i, j,x_len, y_len, dims[1];190 int i, x_len, y_len, dims[1]; 191 191 //check validity of input vectors 192 192 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 375 375 static PyObject * calculate_ER(CBinaryHSModel *self) { 376 376 377 PyObject* pars;378 int npars;379 380 377 // Get parameters 381 378 -
sansmodels/src/sans/models/c_models/CCSParallelepipedModel.cpp
rb1c3295 r00c2141 208 208 { 209 209 PyArrayObject *result; 210 int i, j,x_len, y_len, dims[1];210 int i, x_len, y_len, dims[1]; 211 211 //check validity of input vectors 212 212 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 427 427 static PyObject * calculate_ER(CCSParallelepipedModel *self) { 428 428 429 PyObject* pars;430 int npars;431 432 429 // Get parameters 433 430 -
sansmodels/src/sans/models/c_models/CCappedCylinderModel.cpp
rb1c3295 r00c2141 198 198 { 199 199 PyArrayObject *result; 200 int i, j,x_len, y_len, dims[1];200 int i, x_len, y_len, dims[1]; 201 201 //check validity of input vectors 202 202 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 399 399 static PyObject * calculate_ER(CCappedCylinderModel *self) { 400 400 401 PyObject* pars;402 int npars;403 404 401 // Get parameters 405 402 -
sansmodels/src/sans/models/c_models/CCoreFourShellModel.cpp
rb1c3295 r00c2141 202 202 { 203 203 PyArrayObject *result; 204 int i, j,x_len, y_len, dims[1];204 int i, x_len, y_len, dims[1]; 205 205 //check validity of input vectors 206 206 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 411 411 static PyObject * calculate_ER(CCoreFourShellModel *self) { 412 412 413 PyObject* pars;414 int npars;415 416 413 // Get parameters 417 414 -
sansmodels/src/sans/models/c_models/CCoreShellCylinderModel.cpp
rb1c3295 r00c2141 199 199 { 200 200 PyArrayObject *result; 201 int i, j,x_len, y_len, dims[1];201 int i, x_len, y_len, dims[1]; 202 202 //check validity of input vectors 203 203 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 402 402 static PyObject * calculate_ER(CCoreShellCylinderModel *self) { 403 403 404 PyObject* pars;405 int npars;406 407 404 // Get parameters 408 405 -
sansmodels/src/sans/models/c_models/CCoreShellEllipsoidModel.cpp
rb1c3295 r00c2141 203 203 { 204 204 PyArrayObject *result; 205 int i, j,x_len, y_len, dims[1];205 int i, x_len, y_len, dims[1]; 206 206 //check validity of input vectors 207 207 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 412 412 static PyObject * calculate_ER(CCoreShellEllipsoidModel *self) { 413 413 414 PyObject* pars;415 int npars;416 417 414 // Get parameters 418 415 -
sansmodels/src/sans/models/c_models/CCoreShellModel.cpp
rb1c3295 r00c2141 187 187 { 188 188 PyArrayObject *result; 189 int i, j,x_len, y_len, dims[1];189 int i, x_len, y_len, dims[1]; 190 190 //check validity of input vectors 191 191 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 372 372 static PyObject * calculate_ER(CCoreShellModel *self) { 373 373 374 PyObject* pars;375 int npars;376 377 374 // Get parameters 378 375 -
sansmodels/src/sans/models/c_models/CCylinderModel.cpp
rb1c3295 r00c2141 194 194 { 195 195 PyArrayObject *result; 196 int i, j,x_len, y_len, dims[1];196 int i, x_len, y_len, dims[1]; 197 197 //check validity of input vectors 198 198 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 389 389 static PyObject * calculate_ER(CCylinderModel *self) { 390 390 391 PyObject* pars;392 int npars;393 394 391 // Get parameters 395 392 -
sansmodels/src/sans/models/c_models/CDiamCylFunc.cpp
rb1c3295 r00c2141 182 182 { 183 183 PyArrayObject *result; 184 int i, j,x_len, y_len, dims[1];184 int i, x_len, y_len, dims[1]; 185 185 //check validity of input vectors 186 186 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 357 357 static PyObject * calculate_ER(CDiamCylFunc *self) { 358 358 359 PyObject* pars;360 int npars;361 362 359 // Get parameters 363 360 -
sansmodels/src/sans/models/c_models/CDiamEllipFunc.cpp
rb1c3295 r00c2141 182 182 { 183 183 PyArrayObject *result; 184 int i, j,x_len, y_len, dims[1];184 int i, x_len, y_len, dims[1]; 185 185 //check validity of input vectors 186 186 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 357 357 static PyObject * calculate_ER(CDiamEllipFunc *self) { 358 358 359 PyObject* pars;360 int npars;361 362 359 // Get parameters 363 360 -
sansmodels/src/sans/models/c_models/CEllipsoidModel.cpp
rb1c3295 r00c2141 194 194 { 195 195 PyArrayObject *result; 196 int i, j,x_len, y_len, dims[1];196 int i, x_len, y_len, dims[1]; 197 197 //check validity of input vectors 198 198 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 389 389 static PyObject * calculate_ER(CEllipsoidModel *self) { 390 390 391 PyObject* pars;392 int npars;393 394 391 // Get parameters 395 392 -
sansmodels/src/sans/models/c_models/CEllipticalCylinderModel.cpp
rb1c3295 r00c2141 202 202 { 203 203 PyArrayObject *result; 204 int i, j,x_len, y_len, dims[1];204 int i, x_len, y_len, dims[1]; 205 205 //check validity of input vectors 206 206 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 409 409 static PyObject * calculate_ER(CEllipticalCylinderModel *self) { 410 410 411 PyObject* pars;412 int npars;413 414 411 // Get parameters 415 412 -
sansmodels/src/sans/models/c_models/CFCCrystalModel.cpp
rb1c3295 r00c2141 196 196 { 197 197 PyArrayObject *result; 198 int i, j,x_len, y_len, dims[1];198 int i, x_len, y_len, dims[1]; 199 199 //check validity of input vectors 200 200 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 395 395 static PyObject * calculate_ER(CFCCrystalModel *self) { 396 396 397 PyObject* pars;398 int npars;399 400 397 // Get parameters 401 398 -
sansmodels/src/sans/models/c_models/CFlexCylEllipXModel.cpp
rb1c3295 r00c2141 194 194 { 195 195 PyArrayObject *result; 196 int i, j,x_len, y_len, dims[1];196 int i, x_len, y_len, dims[1]; 197 197 //check validity of input vectors 198 198 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 389 389 static PyObject * calculate_ER(CFlexCylEllipXModel *self) { 390 390 391 PyObject* pars;392 int npars;393 394 391 // Get parameters 395 392 -
sansmodels/src/sans/models/c_models/CFlexibleCylinderModel.cpp
rb1c3295 r00c2141 190 190 { 191 191 PyArrayObject *result; 192 int i, j,x_len, y_len, dims[1];192 int i, x_len, y_len, dims[1]; 193 193 //check validity of input vectors 194 194 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 379 379 static PyObject * calculate_ER(CFlexibleCylinderModel *self) { 380 380 381 PyObject* pars;382 int npars;383 384 381 // Get parameters 385 382 -
sansmodels/src/sans/models/c_models/CFractalModel.cpp
rb1c3295 r00c2141 184 184 { 185 185 PyArrayObject *result; 186 int i, j,x_len, y_len, dims[1];186 int i, x_len, y_len, dims[1]; 187 187 //check validity of input vectors 188 188 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 365 365 static PyObject * calculate_ER(CFractalModel *self) { 366 366 367 PyObject* pars;368 int npars;369 370 367 // Get parameters 371 368 -
sansmodels/src/sans/models/c_models/CFuzzySphereModel.cpp
rb1c3295 r00c2141 186 186 { 187 187 PyArrayObject *result; 188 int i, j,x_len, y_len, dims[1];188 int i, x_len, y_len, dims[1]; 189 189 //check validity of input vectors 190 190 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 369 369 static PyObject * calculate_ER(CFuzzySphereModel *self) { 370 370 371 PyObject* pars;372 int npars;373 374 371 // Get parameters 375 372 -
sansmodels/src/sans/models/c_models/CGaussian.cpp
rb1c3295 r00c2141 177 177 { 178 178 PyArrayObject *result; 179 int i, j,x_len, y_len, dims[1];179 int i, x_len, y_len, dims[1]; 180 180 //check validity of input vectors 181 181 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 346 346 static PyObject * calculate_ER(CGaussian *self) { 347 347 348 PyObject* pars;349 int npars;350 351 348 // Get parameters 352 349 -
sansmodels/src/sans/models/c_models/CHardsphereStructure.cpp
rb1c3295 r00c2141 179 179 { 180 180 PyArrayObject *result; 181 int i, j,x_len, y_len, dims[1];181 int i, x_len, y_len, dims[1]; 182 182 //check validity of input vectors 183 183 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 350 350 static PyObject * calculate_ER(CHardsphereStructure *self) { 351 351 352 PyObject* pars;353 int npars;354 355 352 // Get parameters 356 353 -
sansmodels/src/sans/models/c_models/CHayterMSAStructure.cpp
rb1c3295 r00c2141 183 183 { 184 184 PyArrayObject *result; 185 int i, j,x_len, y_len, dims[1];185 int i, x_len, y_len, dims[1]; 186 186 //check validity of input vectors 187 187 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 362 362 static PyObject * calculate_ER(CHayterMSAStructure *self) { 363 363 364 PyObject* pars;365 int npars;366 367 364 // Get parameters 368 365 -
sansmodels/src/sans/models/c_models/CHollowCylinderModel.cpp
rb1c3295 r00c2141 198 198 { 199 199 PyArrayObject *result; 200 int i, j,x_len, y_len, dims[1];200 int i, x_len, y_len, dims[1]; 201 201 //check validity of input vectors 202 202 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 399 399 static PyObject * calculate_ER(CHollowCylinderModel *self) { 400 400 401 PyObject* pars;402 int npars;403 404 401 // Get parameters 405 402 -
sansmodels/src/sans/models/c_models/CLamellarFFHGModel.cpp
rb1c3295 r00c2141 187 187 { 188 188 PyArrayObject *result; 189 int i, j,x_len, y_len, dims[1];189 int i, x_len, y_len, dims[1]; 190 190 //check validity of input vectors 191 191 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 372 372 static PyObject * calculate_ER(CLamellarFFHGModel *self) { 373 373 374 PyObject* pars;375 int npars;376 377 374 // Get parameters 378 375 -
sansmodels/src/sans/models/c_models/CLamellarModel.cpp
rb1c3295 r00c2141 182 182 { 183 183 PyArrayObject *result; 184 int i, j,x_len, y_len, dims[1];184 int i, x_len, y_len, dims[1]; 185 185 //check validity of input vectors 186 186 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 359 359 static PyObject * calculate_ER(CLamellarModel *self) { 360 360 361 PyObject* pars;362 int npars;363 364 361 // Get parameters 365 362 -
sansmodels/src/sans/models/c_models/CLamellarPCrystalModel.cpp
rb1c3295 r00c2141 185 185 { 186 186 PyArrayObject *result; 187 int i, j,x_len, y_len, dims[1];187 int i, x_len, y_len, dims[1]; 188 188 //check validity of input vectors 189 189 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 368 368 static PyObject * calculate_ER(CLamellarPCrystalModel *self) { 369 369 370 PyObject* pars;371 int npars;372 373 370 // Get parameters 374 371 -
sansmodels/src/sans/models/c_models/CLamellarPSHGModel.cpp
rb1c3295 r00c2141 193 193 { 194 194 PyArrayObject *result; 195 int i, j,x_len, y_len, dims[1];195 int i, x_len, y_len, dims[1]; 196 196 //check validity of input vectors 197 197 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 388 388 static PyObject * calculate_ER(CLamellarPSHGModel *self) { 389 389 390 PyObject* pars;391 int npars;392 393 390 // Get parameters 394 391 -
sansmodels/src/sans/models/c_models/CLamellarPSModel.cpp
rb1c3295 r00c2141 188 188 { 189 189 PyArrayObject *result; 190 int i, j,x_len, y_len, dims[1];190 int i, x_len, y_len, dims[1]; 191 191 //check validity of input vectors 192 192 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 375 375 static PyObject * calculate_ER(CLamellarPSModel *self) { 376 376 377 PyObject* pars;378 int npars;379 380 377 // Get parameters 381 378 -
sansmodels/src/sans/models/c_models/CLogNormal.cpp
rb1c3295 r00c2141 177 177 { 178 178 PyArrayObject *result; 179 int i, j,x_len, y_len, dims[1];179 int i, x_len, y_len, dims[1]; 180 180 //check validity of input vectors 181 181 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 346 346 static PyObject * calculate_ER(CLogNormal *self) { 347 347 348 PyObject* pars;349 int npars;350 351 348 // Get parameters 352 349 -
sansmodels/src/sans/models/c_models/CLorentzian.cpp
rb1c3295 r00c2141 177 177 { 178 178 PyArrayObject *result; 179 int i, j,x_len, y_len, dims[1];179 int i, x_len, y_len, dims[1]; 180 180 //check validity of input vectors 181 181 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 346 346 static PyObject * calculate_ER(CLorentzian *self) { 347 347 348 PyObject* pars;349 int npars;350 351 348 // Get parameters 352 349 -
sansmodels/src/sans/models/c_models/CMultiShellModel.cpp
rb1c3295 r00c2141 191 191 { 192 192 PyArrayObject *result; 193 int i, j,x_len, y_len, dims[1];193 int i, x_len, y_len, dims[1]; 194 194 //check validity of input vectors 195 195 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 382 382 static PyObject * calculate_ER(CMultiShellModel *self) { 383 383 384 PyObject* pars;385 int npars;386 387 384 // Get parameters 388 385 -
sansmodels/src/sans/models/c_models/COnionModel.cpp
rb1c3295 r00c2141 263 263 { 264 264 PyArrayObject *result; 265 int i, j,x_len, y_len, dims[1];265 int i, x_len, y_len, dims[1]; 266 266 //check validity of input vectors 267 267 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 582 582 static PyObject * calculate_ER(COnionModel *self) { 583 583 584 PyObject* pars;585 int npars;586 587 584 // Get parameters 588 585 -
sansmodels/src/sans/models/c_models/CParallelepipedModel.cpp
rb1c3295 r00c2141 202 202 { 203 203 PyArrayObject *result; 204 int i, j,x_len, y_len, dims[1];204 int i, x_len, y_len, dims[1]; 205 205 //check validity of input vectors 206 206 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 409 409 static PyObject * calculate_ER(CParallelepipedModel *self) { 410 410 411 PyObject* pars;412 int npars;413 414 411 // Get parameters 415 412 -
sansmodels/src/sans/models/c_models/CPearlNecklaceModel.cpp
rb1c3295 r00c2141 189 189 { 190 190 PyArrayObject *result; 191 int i, j,x_len, y_len, dims[1];191 int i, x_len, y_len, dims[1]; 192 192 //check validity of input vectors 193 193 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 378 378 static PyObject * calculate_ER(CPearlNecklaceModel *self) { 379 379 380 PyObject* pars;381 int npars;382 383 380 // Get parameters 384 381 -
sansmodels/src/sans/models/c_models/CPoly_GaussCoil.cpp
rb1c3295 r00c2141 181 181 { 182 182 PyArrayObject *result; 183 int i, j,x_len, y_len, dims[1];183 int i, x_len, y_len, dims[1]; 184 184 //check validity of input vectors 185 185 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 356 356 static PyObject * calculate_ER(CPoly_GaussCoil *self) { 357 357 358 PyObject* pars;359 int npars;360 361 358 // Get parameters 362 359 -
sansmodels/src/sans/models/c_models/CRPAModel.cpp
rb1c3295 r00c2141 206 206 { 207 207 PyArrayObject *result; 208 int i, j,x_len, y_len, dims[1];208 int i, x_len, y_len, dims[1]; 209 209 //check validity of input vectors 210 210 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 431 431 static PyObject * calculate_ER(CRPAModel *self) { 432 432 433 PyObject* pars;434 int npars;435 436 433 // Get parameters 437 434 -
sansmodels/src/sans/models/c_models/CReflAdvModel.cpp
rb1c3295 r00c2141 248 248 { 249 249 PyArrayObject *result; 250 int i, j,x_len, y_len, dims[1];250 int i, x_len, y_len, dims[1]; 251 251 //check validity of input vectors 252 252 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 557 557 static PyObject * calculate_ER(CReflAdvModel *self) { 558 558 559 PyObject* pars;560 int npars;561 562 559 // Get parameters 563 560 -
sansmodels/src/sans/models/c_models/CReflModel.cpp
rb1c3295 r00c2141 224 224 { 225 225 PyArrayObject *result; 226 int i, j,x_len, y_len, dims[1];226 int i, x_len, y_len, dims[1]; 227 227 //check validity of input vectors 228 228 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 485 485 static PyObject * calculate_ER(CReflModel *self) { 486 486 487 PyObject* pars;488 int npars;489 490 487 // Get parameters 491 488 -
sansmodels/src/sans/models/c_models/CSCCrystalModel.cpp
rb1c3295 r00c2141 196 196 { 197 197 PyArrayObject *result; 198 int i, j,x_len, y_len, dims[1];198 int i, x_len, y_len, dims[1]; 199 199 //check validity of input vectors 200 200 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 395 395 static PyObject * calculate_ER(CSCCrystalModel *self) { 396 396 397 PyObject* pars;398 int npars;399 400 397 // Get parameters 401 398 -
sansmodels/src/sans/models/c_models/CSLDCalFunc.cpp
rb1c3295 r00c2141 183 183 { 184 184 PyArrayObject *result; 185 int i, j,x_len, y_len, dims[1];185 int i, x_len, y_len, dims[1]; 186 186 //check validity of input vectors 187 187 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 362 362 static PyObject * calculate_ER(CSLDCalFunc *self) { 363 363 364 PyObject* pars;365 int npars;366 367 364 // Get parameters 368 365 -
sansmodels/src/sans/models/c_models/CSchulz.cpp
rb1c3295 r00c2141 177 177 { 178 178 PyArrayObject *result; 179 int i, j,x_len, y_len, dims[1];179 int i, x_len, y_len, dims[1]; 180 180 //check validity of input vectors 181 181 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 346 346 static PyObject * calculate_ER(CSchulz *self) { 347 347 348 PyObject* pars;349 int npars;350 351 348 // Get parameters 352 349 -
sansmodels/src/sans/models/c_models/CSphereModel.cpp
rb1c3295 r00c2141 182 182 { 183 183 PyArrayObject *result; 184 int i, j,x_len, y_len, dims[1];184 int i, x_len, y_len, dims[1]; 185 185 //check validity of input vectors 186 186 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 359 359 static PyObject * calculate_ER(CSphereModel *self) { 360 360 361 PyObject* pars;362 int npars;363 364 361 // Get parameters 365 362 -
sansmodels/src/sans/models/c_models/CSphereSLDModel.cpp
rb1c3295 r00c2141 240 240 { 241 241 PyArrayObject *result; 242 int i, j,x_len, y_len, dims[1];242 int i, x_len, y_len, dims[1]; 243 243 //check validity of input vectors 244 244 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 531 531 static PyObject * calculate_ER(CSphereSLDModel *self) { 532 532 533 PyObject* pars;534 int npars;535 536 533 // Get parameters 537 534 -
sansmodels/src/sans/models/c_models/CSquareWellStructure.cpp
rb1c3295 r00c2141 181 181 { 182 182 PyArrayObject *result; 183 int i, j,x_len, y_len, dims[1];183 int i, x_len, y_len, dims[1]; 184 184 //check validity of input vectors 185 185 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 356 356 static PyObject * calculate_ER(CSquareWellStructure *self) { 357 357 358 PyObject* pars;359 int npars;360 361 358 // Get parameters 362 359 -
sansmodels/src/sans/models/c_models/CStackedDisksModel.cpp
rb1c3295 r00c2141 201 201 { 202 202 PyArrayObject *result; 203 int i, j,x_len, y_len, dims[1];203 int i, x_len, y_len, dims[1]; 204 204 //check validity of input vectors 205 205 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 408 408 static PyObject * calculate_ER(CStackedDisksModel *self) { 409 409 410 PyObject* pars;411 int npars;412 413 410 // Get parameters 414 411 -
sansmodels/src/sans/models/c_models/CStickyHSStructure.cpp
rb1c3295 r00c2141 181 181 { 182 182 PyArrayObject *result; 183 int i, j,x_len, y_len, dims[1];183 int i, x_len, y_len, dims[1]; 184 184 //check validity of input vectors 185 185 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 356 356 static PyObject * calculate_ER(CStickyHSStructure *self) { 357 357 358 PyObject* pars;359 int npars;360 361 358 // Get parameters 362 359 -
sansmodels/src/sans/models/c_models/CTriaxialEllipsoidModel.cpp
rb1c3295 r00c2141 202 202 { 203 203 PyArrayObject *result; 204 int i, j,x_len, y_len, dims[1];204 int i, x_len, y_len, dims[1]; 205 205 //check validity of input vectors 206 206 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 409 409 static PyObject * calculate_ER(CTriaxialEllipsoidModel *self) { 410 410 411 PyObject* pars;412 int npars;413 414 411 // Get parameters 415 412 -
sansmodels/src/sans/models/c_models/CVesicleModel.cpp
rb1c3295 r00c2141 186 186 { 187 187 PyArrayObject *result; 188 int i, j,x_len, y_len, dims[1];188 int i, x_len, y_len, dims[1]; 189 189 //check validity of input vectors 190 190 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 369 369 static PyObject * calculate_ER(CVesicleModel *self) { 370 370 371 PyObject* pars;372 int npars;373 374 371 // Get parameters 375 372 -
sansmodels/src/sans/models/c_models/classTemplate.txt
rb1c3295 r00c2141 167 167 { 168 168 PyArrayObject *result; 169 int i, j,x_len, y_len, dims[1];169 int i, x_len, y_len, dims[1]; 170 170 //check validity of input vectors 171 171 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 322 322 static PyObject * calculate_ER([PYTHONCLASS] *self) { 323 323 324 PyObject* pars;325 int npars;326 327 324 // Get parameters 328 325
Note: See TracChangeset
for help on using the changeset viewer.