cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
BasesCommonBlocks.h
Go to the documentation of this file.
1/*
2 * CepGen: a central exclusive processes event generator
3 * Copyright (C) 2024 Laurent Forthomme
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifndef CepGenAddOns_BasesWrapper_BasesCommonBlocks_h
20#define CepGenAddOns_BasesWrapper_BasesCommonBlocks_h
21
22extern "C" {
23void bsinit_();
24void bases_(double (*fxn)(double[]), double& s, double& sigma, double& ctime, int& it1, int& it2);
25void spinfo_(int&);
26void spring_(double (*func)(double*), int& mxtry);
27
28static constexpr size_t mxdim = 50;
29extern struct {
30 std::array<double, mxdim> xl, xu;
31 int ndim, nwild;
32 std::array<int, mxdim> ig;
33 int ncall;
35extern struct {
36 double acc1, acc2;
37 int itmx1, itmx2;
39extern struct {
40 int intv, ipnt, nloop, mloop;
42extern struct {
43 int mxtryp, nevent, ntrial, miss;
45}
46
47#endif
void spinfo_(int &)
void spring_(double(*func)(double *), int &mxtry)
void bases_(double(*fxn)(double[]), double &s, double &sigma, double &ctime, int &it1, int &it2)
static constexpr size_t mxdim
struct @2 bparm1_
struct @3 bparm2_
struct @4 bscntl_
struct @5 sprng2_
void bsinit_()