|
Phyth v0.1.0
A dimensional safe C++ header-only mechanics and electromagnetics simulation library.
|
Namespaces | |
| namespace | Material |
Classes | |
| class | AngleConstrainer |
| Constrains a particle's angular position around an anchor. More... | |
| class | DistanceConstrainer |
| Constrains a particle's distance from an anchor within an interval. More... | |
| class | ForceSource |
| Abstract base class for all force/traction distributions. More... | |
| class | Particle |
| Physical particle with mass, position, velocity, and force accumulation. More... | |
| class | PointForce |
| Concentrated force acting at a single point in an elastic medium. More... | |
| class | Spring |
| Spring constraint between two particles. More... | |
| class | SurfaceForce |
| Uniform surface traction on a rectangular patch. More... | |
| class | VolumeForce |
| Uniform body force distributed over a rectangular box. More... | |
Variables | |
| template<typename T > | |
| constexpr bool | is_force_source_v = std::is_base_of_v<ForceSource, T> |
| Type trait to check if a type is a ForceSource. | |
|
inlineconstexpr |
Type trait to check if a type is a ForceSource.
Example: static_assert(is_force_source_v<PointForce>); // true static_assert(is_force_source_v<int>); // false
Definition at line 111 of file ForceSource.hpp.