MCBooster
1.0.1
Tool to generate MC phase space samples in parallel.
Main Page
Namespaces
Classes
Files
File List
File Members
IsAccepted.h
Go to the documentation of this file.
1
2
/*
3
* IsAccepted.h
4
*
5
* Copyright 2016 Antonio Augusto Alves Junior
6
*
7
* Created on : 29/03/2016
8
* Author: Antonio Augusto Alves Junior
9
*/
10
11
/*
12
This file is part of MCBooster.
13
14
MCBooster is free software: you can redistribute it and/or modify
15
it under the terms of the GNU General Public License as published by
16
the Free Software Foundation, either version 3 of the License, or
17
(at your option) any later version.
18
19
MCBooster is distributed in the hope that it will be useful,
20
but WITHOUT ANY WARRANTY; without even the implied warranty of
21
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
GNU General Public License for more details.
23
24
You should have received a copy of the GNU General Public License
25
along with MCBooster. If not, see <http://www.gnu.org/licenses/>.
26
*/
27
32
#ifndef ISACCEPTED_H_
33
#define ISACCEPTED_H_
34
35
36
#include <
mcbooster/Config.h
>
37
#include <
mcbooster/GTypes.h
>
38
39
namespace
MCBooster
40
{
41
42
struct
isAccepted
43
{
44
__host__ __device__
45
bool
operator()
(
const
int
x)
46
{
47
return
(x == 1 ) ;
48
}
49
};
50
51
52
}
53
54
55
#endif
/* ISACCEPTED_H_ */
MCBooster
Definition:
Evaluate.h:42
MCBooster::isAccepted::operator()
__host__ __device__ bool operator()(const int x)
Definition:
IsAccepted.h:45
GTypes.h
MCBooster::isAccepted
Definition:
IsAccepted.h:42
Config.h
mcbooster
functors
IsAccepted.h
Generated on Sun Apr 10 2016 05:29:11 for MCBooster by
1.8.10