ForceAnnealing_oldresults
IndependentFragmentGrids_IntegrationTest
Rev | Line | |
---|
[b54ac8] | 1 | /*
|
---|
| 2 | * World_calculations.hpp
|
---|
| 3 | *
|
---|
| 4 | * Created on: Feb 19, 2010
|
---|
| 5 | * Author: crueger
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | #ifndef WORLD_CALCULATIONS_HPP_
|
---|
| 9 | #define WORLD_CALCULATIONS_HPP_
|
---|
| 10 |
|
---|
[56f73b] | 11 | // include config.h
|
---|
| 12 | #ifdef HAVE_CONFIG_H
|
---|
| 13 | #include <config.h>
|
---|
| 14 | #endif
|
---|
| 15 |
|
---|
| 16 |
|
---|
[b54ac8] | 17 |
|
---|
| 18 | #include "World.hpp"
|
---|
| 19 | #include "Actions/AtomsCalculation.hpp"
|
---|
| 20 |
|
---|
[ce7fdc] | 21 | using namespace MoleCuilder;
|
---|
| 22 |
|
---|
[b54ac8] | 23 | template<typename T>
|
---|
[3139b2] | 24 | AtomsCalculation<T>* World::calcOnAtoms(boost::function<T(atom*)> op,const MoleCuilder::ActionTrait &_trait,AtomDescriptor descr){
|
---|
[e4afb4] | 25 | return new AtomsCalculation<T>(op,_trait,descr);
|
---|
[b54ac8] | 26 | }
|
---|
| 27 |
|
---|
[0e2a47] | 28 | template<typename T>
|
---|
[3139b2] | 29 | AtomsCalculation<T>* World::calcOnAtoms(boost::function<T(atom*)> op,const MoleCuilder::ActionTrait &_trait) {
|
---|
[e4afb4] | 30 | return calcOnAtoms<T>(op,_trait,AllAtoms());
|
---|
[0e2a47] | 31 | }
|
---|
| 32 |
|
---|
[b54ac8] | 33 | #endif /* WORLD_CALCULATIONS_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.