INNER CODE UNIT · Python

fixed_point_atol

MatthewFilipovich/pycharge · src/pycharge/charge.py:31

    fixed_point_atol: float = 1e-20
    fixed_point_max_steps: int = 256
    fixed_point_throw: bool = False

    root_find_rtol: float = 0.0
    root_find_atol: float = 1e-20
    root_find_max_steps: int = 256
    root_find_throw: bool = True


@dataclass(frozen=True)
class Charge:
    r"""Point charge with time-dependent trajectory.

    Attributes:
        position_fn (Callable[[Scalar], Vector3]): Position function :math:`\mathbf{r}(t)` mapping
            time (s) to position (m). Must be twice differentiable.
        q (float): Charge (C). Default: ``e`` (elementary charge :math:`\approx 1.602 \times 10^{-19}` C).

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…