/* * Project: MoleCuilder * Description: creates and alters molecular systems * Copyright (C) 2011 University of Bonn. All rights reserved. * Please see the LICENSE file or "Copyright notice" in builder.cpp for details. */ /* * LinkedCell_ModelStub.cpp * * Created on: Nov 29, 2011 * Author: heber */ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include "CodePatterns/MemDebug.hpp" #include "LinkedCell/LinkedCell_Model.hpp" #include #include #include #include "Box.hpp" #include "CodePatterns/Observer/Observer.hpp" #include "LinkedCell/types.hpp" #include "LinkedCell/LinkedCell_Model_inline.hpp" // initialize static entities LinkedCell::tripleIndex LinkedCell::LinkedCell_Model::NearestNeighbors; /** Constructor of LinkedCell_Model stub. * * @param radius desired maximum neighborhood distance * @param _domain Box instance with domain size and boundary conditions */ LinkedCell::LinkedCell_Model::LinkedCell_Model(const double radius, const Box &_domain) : ::Observer(std::string("LinkedCell_ModelStub")), internal_Sizes(NULL), domain(_domain) { } /** Destructor of class LinkedCell_Model stub. * */ LinkedCell::LinkedCell_Model::~LinkedCell_Model() { } /** Callback function for Observer mechanism. * * @param publisher reference to the Observable that calls */ void LinkedCell::LinkedCell_Model::update(Observable *publisher) {} /** Callback function for the Notifications mechanism. * * @param publisher reference to the Observable that calls * @param notification specific notification as cause of the call */ void LinkedCell::LinkedCell_Model::recieveNotification(Observable *publisher, Notification_ptr notification) {} /** Callback function when an Observer dies. * * @param publisher reference to the Observable that calls */ void LinkedCell::LinkedCell_Model::subjectKilled(Observable *publisher) {}