ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4SimplexDownhill< T > Class Template Reference

#include <geant4/tree/geant4-10.6-release/source/global/HEPNumerics/include/G4SimplexDownhill.hh>

+ Collaboration diagram for G4SimplexDownhill< T >:

Public Member Functions

 G4SimplexDownhill (T *tp, G4int n)
 
 ~G4SimplexDownhill ()
 
G4double GetMinimum ()
 
std::vector< G4doubleGetMinimumPoint ()
 

Private Member Functions

G4double getValue (std::vector< G4double > x)
 
void initialize ()
 
void calHeights ()
 
std::vector< G4doublecalCentroid (G4int)
 
G4bool isItGoodEnough ()
 
std::vector< G4doublegetReflectionPoint (std::vector< G4double >, std::vector< G4double >)
 
std::vector< G4doublegetExpansionPoint (std::vector< G4double >, std::vector< G4double >)
 
std::vector< G4doublegetContractionPoint (std::vector< G4double >, std::vector< G4double >)
 
void doDownhill ()
 
void init ()
 

Private Attributes

std::vector< std::vector
< G4double > > 
currentSimplex
 
std::vector< G4doublecurrentHeights
 
G4double currentValue
 
Ttarget
 
G4int numberOfVariable
 
G4double alpha
 
G4double beta
 
G4double gamma
 
G4double max_se
 
G4double max_ratio
 
G4int maximum_no_trial
 
G4bool minimized
 
std::vector< G4doubleminimumPoint
 

Detailed Description

template<class T>
class G4SimplexDownhill< T >

Definition at line 48 of file G4SimplexDownhill.hh.

View newest version in sPHENIX GitHub at line 48 of file G4SimplexDownhill.hh

Constructor & Destructor Documentation

template<class T>
G4SimplexDownhill< T >::G4SimplexDownhill ( T tp,
G4int  n 
)
inline

Definition at line 53 of file G4SimplexDownhill.hh.

View newest version in sPHENIX GitHub at line 53 of file G4SimplexDownhill.hh

template<class T>
G4SimplexDownhill< T >::~G4SimplexDownhill ( )

Member Function Documentation

template<class T>
std::vector< G4double > G4SimplexDownhill< T >::calCentroid ( G4int  )
private
template<class T>
void G4SimplexDownhill< T >::calHeights ( )
private
template<class T>
void G4SimplexDownhill< T >::doDownhill ( )
private
template<class T>
std::vector< G4double > G4SimplexDownhill< T >::getContractionPoint ( std::vector< G4double ,
std::vector< G4double  
)
private
template<class T>
std::vector< G4double > G4SimplexDownhill< T >::getExpansionPoint ( std::vector< G4double ,
std::vector< G4double  
)
private
template<class T>
G4double G4SimplexDownhill< T >::GetMinimum ( )
template<class T>
std::vector< G4double > G4SimplexDownhill< T >::GetMinimumPoint ( )

Referenced by G4ConvergenceTester::calc_slope_fit().

+ Here is the caller graph for this function:

template<class T>
std::vector< G4double > G4SimplexDownhill< T >::getReflectionPoint ( std::vector< G4double ,
std::vector< G4double  
)
private
template<class T>
G4double G4SimplexDownhill< T >::getValue ( std::vector< G4double x)
inlineprivate

Definition at line 66 of file G4SimplexDownhill.hh.

View newest version in sPHENIX GitHub at line 66 of file G4SimplexDownhill.hh

template<class T>
void G4SimplexDownhill< T >::init ( )
private

Referenced by G4SimplexDownhill< G4ConvergenceTester >::G4SimplexDownhill().

+ Here is the caller graph for this function:

template<class T>
void G4SimplexDownhill< T >::initialize ( )
private
template<class T>
G4bool G4SimplexDownhill< T >::isItGoodEnough ( )
private

Member Data Documentation

template<class T>
G4double G4SimplexDownhill< T >::alpha
private

Definition at line 97 of file G4SimplexDownhill.hh.

View newest version in sPHENIX GitHub at line 97 of file G4SimplexDownhill.hh

template<class T>
G4double G4SimplexDownhill< T >::beta
private

Definition at line 98 of file G4SimplexDownhill.hh.

View newest version in sPHENIX GitHub at line 98 of file G4SimplexDownhill.hh

template<class T>
std::vector< G4double > G4SimplexDownhill< T >::currentHeights
private

Definition at line 73 of file G4SimplexDownhill.hh.

View newest version in sPHENIX GitHub at line 73 of file G4SimplexDownhill.hh

template<class T>
std::vector< std::vector< G4double > > G4SimplexDownhill< T >::currentSimplex
private

Definition at line 70 of file G4SimplexDownhill.hh.

View newest version in sPHENIX GitHub at line 70 of file G4SimplexDownhill.hh

template<class T>
G4double G4SimplexDownhill< T >::currentValue
private

Definition at line 74 of file G4SimplexDownhill.hh.

View newest version in sPHENIX GitHub at line 74 of file G4SimplexDownhill.hh

template<class T>
G4double G4SimplexDownhill< T >::gamma
private

Definition at line 99 of file G4SimplexDownhill.hh.

View newest version in sPHENIX GitHub at line 99 of file G4SimplexDownhill.hh

template<class T>
G4double G4SimplexDownhill< T >::max_ratio
private

Definition at line 101 of file G4SimplexDownhill.hh.

View newest version in sPHENIX GitHub at line 101 of file G4SimplexDownhill.hh

template<class T>
G4double G4SimplexDownhill< T >::max_se
private

Definition at line 100 of file G4SimplexDownhill.hh.

View newest version in sPHENIX GitHub at line 100 of file G4SimplexDownhill.hh

template<class T>
G4int G4SimplexDownhill< T >::maximum_no_trial
private

Definition at line 102 of file G4SimplexDownhill.hh.

View newest version in sPHENIX GitHub at line 102 of file G4SimplexDownhill.hh

template<class T>
G4bool G4SimplexDownhill< T >::minimized
private

Definition at line 103 of file G4SimplexDownhill.hh.

View newest version in sPHENIX GitHub at line 103 of file G4SimplexDownhill.hh

template<class T>
std::vector< G4double > G4SimplexDownhill< T >::minimumPoint
private

Definition at line 105 of file G4SimplexDownhill.hh.

View newest version in sPHENIX GitHub at line 105 of file G4SimplexDownhill.hh

template<class T>
G4int G4SimplexDownhill< T >::numberOfVariable
private

Definition at line 95 of file G4SimplexDownhill.hh.

View newest version in sPHENIX GitHub at line 95 of file G4SimplexDownhill.hh

template<class T>
T* G4SimplexDownhill< T >::target
private

Definition at line 93 of file G4SimplexDownhill.hh.

View newest version in sPHENIX GitHub at line 93 of file G4SimplexDownhill.hh


The documentation for this class was generated from the following file: