#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. |
float * p
Definition: Tutorial_Map_using.cpp:9
References LiquidFilm< Particle >::liquidVolume_, p, and LiquidFilm< Particle >::totalEvaporatedLiquidVolume_.
◆ ~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 >
◆ addTotalEvaporatedLiquidVolume()
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:21
References LiquidFilm< Particle >::LiquidFilm().
◆ getFieldVTK()
template<class Particle >
int i
Definition: BiCGSTAB_step_by_step.cpp:9
Mdouble getMeanLiquidFilmThickness() const
Definition: LiquidFilmParticle.h:125
Mdouble getLiquidBridgeVolume() const
Definition: LiquidFilmParticle.h:215
Mdouble getRelativeLiquidVolume() const
Definition: LiquidFilmParticle.h:130
Mdouble getFullLiquidVolume() const
Definition: LiquidFilmParticle.h:99
References i.
◆ getFullLiquidVolume()
template<class Particle >
◆ getLiquidBridgeVolume()
template<class Particle >
219 for (
auto i : this->getInteractions())
225 volume += 0.5 *
j->getLiquidBridgeVolume();
227 volume +=
j->getLiquidBridgeVolume();
235 volume += 0.5 *
k->getLiquidBridgeVolume();
237 volume +=
k->getLiquidBridgeVolume();
Definition: BaseParticle.h:33
Defines the liquid bridge LS interaction between two particles or walls.
Definition: LiquidMigrationLSInteraction.h:30
Defines the liquid bridge willet interaction between two particles or walls.
Definition: LiquidMigrationWilletInteraction.h:30
char char char int int * k
Definition: level2_impl.h:374
std::ptrdiff_t j
Definition: tut_arithmetic_redux_minmax.cpp:2
References i, j, and k.
Referenced by HeatFluidCoupled< Particle >::getFieldVTK(), and LiquidFilm< Particle >::getFullLiquidVolume().
◆ getLiquidVolume()
template<class Particle >
◆ getMeanLiquidFilmThickness()
template<class Particle >
This is an approximated value of the thickness, used to be compatible with all particle types. Note that some particles might not have a getSurfaceArea() function implemented!
References LiquidFilm< Particle >::liquidVolume_.
◆ getName()
template<class Particle >
Returns the name of the object; in this case 'LiquidFilm'.
- Returns
- The object name.
std::string getName(int argc, char *argv[])
Definition: CombineParallelDataFiles.cpp:16
References getName().
◆ getNameVTK()
template<class Particle >
184 return "liquidFilmVolume";
186 return "liquidBridgeVolume";
188 return "totalEvaporatedLiquidVolume";
190 return "meanLiquidFilmThickness";
192 return "relativeLiquidVolume";
194 return "fullLiquidVolume";
References i.
◆ getNumberOfFieldsVTK()
template<class Particle >
◆ getRelativeLiquidVolume()
template<class Particle >
◆ getTotalEvaporatedLiquidVolume()
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. |
173 if (dummy ==
"invInertia")
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE std::enable_if_t< PacketLoad, PacketType > read(const TensorMapper &tensorMapper, const StorageIndex &NCIndex, const StorageIndex &CIndex, const StorageIndex &ld)
read, a template function used for loading the data from global memory. This function is used to guar...
Definition: TensorContractionSycl.h:162
std::string string(const unsigned &i)
Definition: oomph_definitions.cc:286
References Eigen::TensorSycl::internal::read(), and oomph::Global_string_for_annotation::string().
◆ setLiquidVolume()
template<class Particle >
◆ setTotalEvaporatedLiquidVolume()
template<class Particle >
◆ 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 |
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE std::enable_if_t< dt !=data_source::global_mem, void > write(PacketType &packet_data, DataScalar ptr)
write, a template function used for storing the data to local memory. This function is used to guaran...
Definition: TensorContractionSycl.h:221
References LiquidFilm< Particle >::liquidVolume_, LiquidFilm< Particle >::totalEvaporatedLiquidVolume_, and Eigen::TensorSycl::internal::write().
◆ liquidVolume_
template<class Particle >
◆ totalEvaporatedLiquidVolume_
template<class Particle >
The documentation for this class was generated from the following files: