File indexing completed on 2026-08-06 09:24:27
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 namespace Herwig {
0015
0016 inline MPISampler::MPISampler()
0017 : theEps(100*Constants::epsilon), theMargin(1.1),
0018 theNTry(1000) {}
0019
0020 inline MPISampler::MPISampler(const MPISampler & x)
0021 : SamplerBase(x), theProcessHandler(x.theProcessHandler), theEps(x.theEps),
0022 theMargin(x.theMargin), theNTry(x.theNTry) {}
0023
0024 inline void MPISampler::setProcessHandler(tProHdlPtr proh){
0025 theProcessHandler = proh;
0026 }
0027
0028 inline IBPtr MPISampler::clone() const {
0029 return new_ptr(*this);
0030 }
0031
0032 inline IBPtr MPISampler::fullclone() const {
0033 return new_ptr(*this);
0034 }
0035
0036 inline void MPISampler::doupdate() {
0037 SamplerBase::doupdate();
0038
0039 bool redo = touched();
0040
0041
0042
0043
0044
0045
0046
0047
0048 if ( !redo ) return;
0049
0050
0051
0052 }
0053
0054 inline void MPISampler::doinit() {
0055 SamplerBase::doinit();
0056 }
0057
0058 inline void MPISampler::rebind(const TranslationMap & trans)
0059 {
0060
0061 SamplerBase::rebind(trans);
0062 }
0063
0064 inline IVector MPISampler::getReferences() {
0065 IVector ret = SamplerBase::getReferences();
0066
0067 return ret;
0068 }
0069
0070 }