/*------------------------------- phasicFlow --------------------------------- O C enter of O O E ngineering and O O M ultiscale modeling of OOOOOOO F luid flow ------------------------------------------------------------------------------ Copyright (C): www.cemf.ir email: hamid.r.norouzi AT gmail.com ------------------------------------------------------------------------------ Licence: This file is part of phasicFlow code. It is a free software for simulating granular and multiphase flows. You can redistribute it and/or modify it under the terms of GNU General Public License v3 or any other later versions. phasicFlow is distributed to help others in their research in the field of granular and multiphase flows, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -----------------------------------------------------------------------------*/ #ifndef __particles_hpp__ #define __particles_hpp__ #include "dynamicPointStructure.hpp" #include "demComponent.hpp" namespace pFlow { class particles : public observer, public demComponent { private: /// dynamic point structure for particles center mass dynamicPointStructure dynPointStruct_; // - name of shapes - this is managed by particles //wordPointField& shapeName_; // id of particles on host int32PointField_D id_; // property id on device int8PointField_D propertyId_; // diameter / boundig sphere size of particles on device realPointField_D diameter_; // mass of particles field realPointField_D mass_; // - acceleration on device realx3PointField_D accelertion_; /// contact force field realx3PointField_D contactForce_; /// contact torque field realx3PointField_D contactTorque_; void zeroForce() { WARNING<<"fill contactTorque"<