picongpu.pypicongpu.solver
This file is part of PIConGPU. Copyright 2021-2024 PIConGPU contributors Authors: Hannes Troepgen, Brian Edward Marre License: GPLv3+
Classes
represents a field solver |
|
Yee solver as defined by PIConGPU |
Module Contents
- class picongpu.pypicongpu.solver.Solver
represents a field solver
Parent class for type safety, does not contain anything.
- class picongpu.pypicongpu.solver.YeeSolver
Bases:
Solver
,picongpu.pypicongpu.rendering.RenderedObject
Yee solver as defined by PIConGPU
note: has no parameters
- __hash__()
custom hash function for indexing in dicts
- get_rendering_context() dict | None
get rendering context representation of this object
delegates work to _get_serialized and invokes checks performed by check_context_for_type(). :raise ValidationError: on schema violation :raise RuntimeError: on schema not found :return: self as rendering context
- static check_context_for_type(type_to_check: type, context: dict | None) None
check if the given context is valid for the given type
Raises on error, passes silently if okay.
- Raises:
ValidationError – on schema violation
RuntimeError – on schema not found