SPH
|
Shared data used when creating all bodies in the simulation. More...
#include <IMaterial.h>
Public Member Functions | |
MaterialInitialContext ()=default | |
MaterialInitialContext (const RunSettings &settings) | |
Initializes the context using the values provided in the settings. More... | |
Public Attributes | |
AutoPtr< IRng > | rng |
Random number generator. More... | |
SharedPtr< IScheduler > | scheduler |
Float | kernelRadius = 2._f |
Kernel radius in units of smoothing length. More... | |
AutoPtr< IUvMapping > | uvMap = nullptr |
If used, texture mapping coordinates are generated provided mapping. More... | |
Shared data used when creating all bodies in the simulation.
Definition at line 89 of file IMaterial.h.
|
default |
|
explicit |
Initializes the context using the values provided in the settings.
Definition at line 10 of file IMaterial.cpp.
Float MaterialInitialContext::kernelRadius = 2._f |
Kernel radius in units of smoothing length.
Definition at line 96 of file IMaterial.h.
Random number generator.
Definition at line 91 of file IMaterial.h.
SharedPtr<IScheduler> MaterialInitialContext::scheduler |
Definition at line 93 of file IMaterial.h.
AutoPtr<IUvMapping> MaterialInitialContext::uvMap = nullptr |
If used, texture mapping coordinates are generated provided mapping.
Definition at line 99 of file IMaterial.h.