Reference# State, Mesh and Functions Class-Reference Mesh Mesh.cell_volume Mesh.dim Mesh.discretization Mesh.dx Mesh.field_shape() Mesh.n Mesh.num_cells Mesh.num_nodes Mesh.origin Mesh.pbc Mesh.volume State State.add_domain() State.coordinates() State.device State.domains_from_file() State.dtype State.getattr() State.material State.mesh State.read_vti() State.remap() State.resolve() State.tensor() State.write_vti() State.zeros() Function Function.avg() Function.fill() Function.fill_by_domain() Function.name Function.shape Function.spaces Function.state Function.tensor Function.tensor_shape Function.to_cell() Function.to_node() VectorFunction CellFunction VectorCellFunction Field Terms FieldTerm FieldTerm.attr_name() FieldTerm.register() TotalField TotalField.register() Predefined Field Terms BulkDMIField DemagField CubicAnisotropyField ExchangeField ExternalField InterfaceDMIField InterlayerExchangeField LIField OerstedField UniaxialAnisotropyField LLG Solver LLGSolver Loggers Class-Reference FieldLogger FieldLogger.last_recorded_step() FieldLogger.log() FieldLogger.resumable_step() FieldLogger.resume() FieldLogger.step_data() ScalarLogger ScalarLogger.add_column() ScalarLogger.log() ScalarLogger.resumable_step() ScalarLogger.resume() Logger Logger.is_resumable() Logger.log() Logger.resume() Code Generator dA() dV() dX() Variable() extract_kernel() variation() Configuring NeuralMag The config object Environment Variables LLM context llm_context()