Expand description
Native Rust JSON/TOML format for BEM solver configuration
This module provides a clean, idiomatic Rust configuration format that supports both JSON and TOML serialization via serde.
§Example JSON Configuration
{
"physics": {
"frequency": 1000.0,
"speed_of_sound": 343.0,
"density": 1.21
},
"mesh": {
"nodes_file": "nodes.json",
"elements_file": "elements.json"
},
"solver": {
"method": "BiCGSTAB",
"tolerance": 1e-6,
"max_iterations": 1000
}
}Structs§
- BemConfig
- Native BEM configuration
- BemMethod
Config - BEM method configuration
- Boundary
Condition Config - Boundary condition configuration
- Mesh
Config - Mesh configuration
- Output
Config - Output configuration
- Physics
Config - Physics parameters
- Plane
Wave Config - Plane wave source configuration
- Point
Source Config - Point source configuration
- Solver
Config - Solver configuration
- Source
Config - Source configuration
Enums§
- BemMethod
Type - BEM assembly method type
- Boundary
Condition Type - Boundary condition type
- Config
Error - Configuration error types
- Config
Format - Configuration file format
- Preconditioner
Config - Preconditioner type
- Solver
Method Config - Iterative solver method
Functions§
- load_
config - Load BEM configuration from a file
- parse_
config - Parse BEM configuration from a string
- save_
config - Save BEM configuration to a file
- serialize_
config - Serialize BEM configuration to a string