|
| | NullMaterial (const BodySettings &body) |
| |
| virtual void | create (Storage &UNUSED(storage), const MaterialInitialContext &UNUSED(context)) override |
| |
| virtual void | initialize (IScheduler &UNUSED(scheduler), Storage &UNUSED(storage), const IndexSequence UNUSED(sequence)) override |
| |
| virtual void | finalize (IScheduler &UNUSED(scheduler), Storage &UNUSED(storage), const IndexSequence UNUSED(sequence)) override |
| |
| | IMaterial (const BodySettings &settings) |
| |
| template<typename TValue > |
| INLINE IMaterial & | setParam (const BodySettingsId paramIdx, TValue &&value) |
| |
| template<typename TValue > |
| INLINE TValue | getParam (const BodySettingsId paramIdx) const |
| | Returns a parameter associated with given particle. More...
|
| |
| INLINE const BodySettings & | getParams () const |
| | Returns settings containing material parameters. More...
|
| |
| void | setRange (const QuantityId id, const Interval &range, const Float minimal) |
| | Sets the timestepping parameters of given quantity. More...
|
| |
| INLINE void | setRange (const QuantityId id, const BodySettingsId rangeId, const BodySettingsId minimalId) |
| | Sets the timestepping parameters of given quantity. More...
|
| |
| INLINE Float | minimal (const QuantityId id) const |
| | Returns the scale value of the quantity. More...
|
| |
| INLINE const Interval | range (const QuantityId id) const |
| | Returns the range of allowed quantity values. More...
|
| |
| virtual void | create (Storage &storage, const MaterialInitialContext &context)=0 |
| | Create all quantities needed by the material. More...
|
| |
| virtual void | initialize (IScheduler &scheduler, Storage &storage, const IndexSequence sequence)=0 |
| | Initialize all quantities and material parameters. More...
|
| |
| virtual void | finalize (IScheduler &scheduler, Storage &storage, const IndexSequence sequence)=0 |
| | Finalizes the material for the time step. More...
|
| |
| virtual | ~Polymorphic () |
| |
Material that does not require any initialization or finalization.
It only holds the per-material properties of particles.
Definition at line 200 of file IMaterial.h.