Simple non-owning view of a container.
Wrapper over enum allowing setting (and querying) individual bits of the stored value.
#define NAMESPACE_SPH_END
Symmetric traceless 2nd order tensor.
Basic vector algebra. Computations are accelerated using SIMD.
Interface representing a fragmentation model.
virtual void integrate(IScheduler &scheduler, Storage &storage, const MaterialView sequence)=0
Compute damage derivatives.
virtual void setFlaws(Storage &storage, IMaterial &material, const MaterialInitialContext &context) const =0
Sets up all the necessary quantities in the storage given material settings.
Material settings and functions specific for one material.
Interface that allows unified implementation of sequential and parallelized versions of algorithms.
Non-owning wrapper of a material and particles with this material.
virtual void setFlaws(Storage &storage, IMaterial &material, const MaterialInitialContext &context) const override
Sets up all the necessary quantities in the storage given material settings.
virtual void integrate(IScheduler &scheduler, Storage &storage, const MaterialView material) override
Compute damage derivatives.
Scalar damage describing fragmentation of the body according to Grady-Kipp model (Grady and Kipp,...
virtual void integrate(IScheduler &scheduler, Storage &storage, const MaterialView material) override
Compute damage derivatives.
virtual void setFlaws(Storage &storage, IMaterial &material, const MaterialInitialContext &context) const override
Sets up all the necessary quantities in the storage given material settings.
Container storing all quantities used within the simulations.
virtual void setFlaws(Storage &storage, IMaterial &material, const MaterialInitialContext &context) const override
Sets up all the necessary quantities in the storage given material settings.
virtual void integrate(IScheduler &scheduler, Storage &storage, const MaterialView material) override
Compute damage derivatives.
Shared data used when creating all bodies in the simulation.
Base class for all polymorphic objects.