#include <LiquidFilmParticle.h>
◆ LiquidFilm() [1/2]
template<class Particle >
◆ LiquidFilm() [2/2]
template<class Particle >
Particle copy constructor, which accepts as input a reference to a Particle. It creates a copy of this Particle and all it's information. Usually it is better to use the copy() function for polymorfism.
Constructor that copies most of the properties of the given particle. Please note that not everything is copied, for example the position in the HGrid is not determined yet by the end of this constructor. It also does not copy the interactions and the pointer to the handler that handles this particle. Use with care.
- Parameters
-
[in,out] | p | Reference to the LiquidFilm this one should become a copy of. |
References LiquidFilm< Particle >::liquidVolume_.
◆ ~LiquidFilm()
template<class Particle >
Particle destructor, needs to be implemented and checked if it removes tangential spring information.
Destructor. It asks the ParticleHandler to check if this was the smallest or largest particle and adjust itself accordingly.
◆ addLiquidVolume()
template<class Particle >
◆ copy()
template<class Particle >
Particle copy method. It calls to copy constructor of this Particle, useful for polymorfism.
Copy method. Uses copy constructor to create a copy on the heap. Useful for polymorphism.
- Returns
- pointer to the particle's copy
LiquidFilm()
Basic Particle constructor, creates an Particle at (0,0,0) with radius, mass and inertia equal to 1.
Definition: LiquidFilmParticle.h:42
References LiquidFilm< Particle >::LiquidFilm().
◆ getFieldVTK()
template<class Particle >
180 for (
auto k : this->getInteractions()) {
183 if (j && j->getLiquidBridgeVolume()) {
189 if (j && j->getLiquidBridgeVolume()) {
195 return std::vector<Mdouble>(1, fullLiquidVolume);
double Mdouble
Definition: GeneralDefine.h:34
Defines the liquid bridge LS interaction between two particles or walls.
Definition: LiquidMigrationLSInteraction.h:45
Mdouble getLiquidBridgeVolume() const
Definition: LiquidMigrationLSInteraction.cc:497
Defines the liquid bridge willet interaction between two particles or walls.
Definition: LiquidMigrationWilletInteraction.h:45
Mdouble getLiquidBridgeVolume() const
Definition: LiquidMigrationWilletInteraction.cc:462
const std::complex< Mdouble > i
Definition: ExtendedMath.h:51
References constants::i.
◆ getLiquidVolume()
template<class Particle >
◆ getName()
template<class Particle >
Returns the name of the object; in this case 'LiquidFilm'.
- Returns
- The object name.
◆ getNameVTK()
template<class Particle >
166 return "liquidFilmVolume";
168 return "liquidBridgeVolume";
170 return "fullLiquidVolume";
References constants::i.
◆ getNumberOfFieldsVTK()
template<class Particle >
◆ getTypeVTK()
template<class Particle >
◆ isSphericalParticle()
template<class Particle >
◆ read()
template<class Particle >
Particle read function. Has an std::istream as argument, from which it extracts the radius_, invMass_ and invInertia_, respectively. From these the mass_ and inertia_ are deduced. An additional set of properties is read through the call to the parent's method BaseParticle::read().
- Parameters
-
[in,out] | is | input stream with particle properties. |
156 if (dummy ==
"invInertia")
◆ setLiquidVolume()
template<class Particle >
References LiquidFilm< Particle >::liquidVolume_.
Referenced by RotatingDrumWet::actionsAfterTimeStep(), LiquidMigrationLSInteraction::form(), LiquidMigrationWilletInteraction::form(), main(), LiquidMigrationLSInteraction::rupture(), LiquidMigrationWilletInteraction::rupture(), RotatingDrumWet::setupInitialConditions(), LiquidMigrationMPI2Test::setupInitialConditions(), LiquidMigrationSelfTest::setupInitialConditions(), DPM::setupInitialConditions(), TwoParticleElasticCollisionInteraction::setupInitialConditions(), TwoParticles::setupInitialConditions(), and EvaporationAndHeatTest::setupInitialConditions().
◆ write()
template<class Particle >
LiquidFilm print method, which accepts an os std::ostream as input. It prints human readable LiquidFilm information to the std::ostream.
- Parameters
-
[in,out] | os | stream to which the info is written |
References LiquidFilm< Particle >::liquidVolume_.
◆ liquidVolume_
template<class Particle >
The documentation for this class was generated from the following file: