Candidate_v1.7.0
        stable
      
      
        
          | 
            Last change
 on this file since bcc29ca was             291eca, checked in by Frederik Heber <heber@…>, 12 years ago           | 
        
        
          | 
             
Extracted all length,angle, ... function inside potentials into functors. 
 
- all implement Coordinator interface for later factory pattern.
  
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            517 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 | /*
 | 
|---|
| 2 |  * ThreeBody_Angle.hpp
 | 
|---|
| 3 |  *
 | 
|---|
| 4 |  *  Created on: 03.09.2013
 | 
|---|
| 5 |  *      Author: heber
 | 
|---|
| 6 |  */
 | 
|---|
| 7 | 
 | 
|---|
| 8 | #ifndef THREEBODY_ANGLE_HPP_
 | 
|---|
| 9 | #define THREEBODY_ANGLE_HPP_
 | 
|---|
| 10 | 
 | 
|---|
| 11 | // include config.h
 | 
|---|
| 12 | #ifdef HAVE_CONFIG_H
 | 
|---|
| 13 | #include <config.h>
 | 
|---|
| 14 | #endif
 | 
|---|
| 15 | 
 | 
|---|
| 16 | #include "Coordinator.hpp"
 | 
|---|
| 17 | 
 | 
|---|
| 18 | /** This class implements the Coordinator interface for the
 | 
|---|
| 19 |  * conversion of an arguments_t list into a single angle.
 | 
|---|
| 20 |  */
 | 
|---|
| 21 | struct ThreeBody_Angle : public Coordinator
 | 
|---|
| 22 | {
 | 
|---|
| 23 |   double operator()(const FunctionModel::arguments_t &arguments) const;
 | 
|---|
| 24 | };
 | 
|---|
| 25 | 
 | 
|---|
| 26 | #endif /* THREEBODY_ANGLE_HPP_ */
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.