Page MenuHomeHEPForge

BoundaryMethod.hh
No OneTemporary

Size
1003 B
Referenced Files
None
Subscribers
None

BoundaryMethod.hh

#ifndef NPSTAT_BOUNDARYMETHOD_HH_
#define NPSTAT_BOUNDARYMETHOD_HH_
/*!
// \file BoundaryMethod.hh
//
// \brief Enumeration of typical boundary handling methods for LOrPE
//
// Author: I. Volobouev
//
// March 2014
*/
#include <string>
namespace npstat {
/**
// BM_TRUNCATE: use simple truncation of the weight function,
// with subsequent renormalization
//
// BM_STRETCH: stretch the weight function near the boundary
//
// BM_FOLD: fold the weight function back into the support interval
*/
enum BoundaryMethod
{
BM_TRUNCATE = 0,
BM_STRETCH,
BM_FOLD
};
/** Enums corresponding to method names */
BoundaryMethod parseBoundaryMethod(const char* methodName);
/** Method names corresponding to enums */
const char* boundaryMethodName(BoundaryMethod m);
/** All valid method names for use in error messages, etc */
std::string validBoundaryMethodNames();
}
#endif // NPSTAT_BOUNDARYMETHOD_HH_

File Metadata

Mime Type
text/x-c
Expires
Tue, Sep 30, 4:41 AM (21 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6555918
Default Alt Text
BoundaryMethod.hh (1003 B)

Event Timeline