Commit Graph

1 Commits

Author SHA1 Message Date
Jukka Aho 90d9f52bf6 refactor(physics): Implement Physics struct with 4 type parameters
- Define Physics{Formulation, Field, Mesh, Material} <: AbstractPhysics
- Implement type parameter validation in inner constructor
- Add DirichletBC for essential boundary conditions
- Add NeumannBC for natural boundary conditions
- Add Constraint placeholder for future constraint handling
- Provide keyword constructor with automatic type inference
- Document dispatch-optimized type parameter order
- 205 lines including comprehensive docstrings
2025-11-18 16:08:35 +02:00