torchdeform
Copyright 2026 Robert Gabriel Popescu

This product is licensed under the Apache License, Version 2.0 (see LICENSE).

-------------------------------------------------------------------------------
Third-party components
-------------------------------------------------------------------------------

Compound dislocation models (pCDM / CDM / pECM)
  src/torchdeform/sources/pcdm.py, src/torchdeform/sources/cdm.py and
  src/torchdeform/sources/pecm.py are derivative works (differentiable, batched
  PyTorch ports of the surface-displacement computations) of the MATLAB "pCDM",
  "CDM" and "pECM" functions by Mehdi Nikkhoo, used under the MIT License:

    Copyright (c) 2016 Mehdi Nikkhoo

    Permission is hereby granted, free of charge, to any person obtaining a
    copy of this software and associated documentation files
    (the "Software"), to deal in the Software without restriction, including
    without limitation the rights to use, copy, modify, merge, publish,
    distribute, sublicense, and/or sell copies of the Software, and to permit
    persons to whom the Software is furnished to do so, subject to the
    following conditions:

    The above copyright notice and this permission notice shall be included
    in all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
    OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
    NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
    DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
    OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
    USE OR OTHER DEALINGS IN THE SOFTWARE.

  Reference:
    Nikkhoo, M., Walter, T. R., Lundgren, P. R., Prats-Iraola, P. (2017),
    "Compound dislocation models (CDMs) for volcano deformation analyses",
    Geophysical Journal International, 208(2), 877-894.

-------------------------------------------------------------------------------

Okada rectangular finite-fault model (DC3D)
  src/torchdeform/sources/okada.py is a derivative work (a differentiable,
  batched PyTorch port) of the "DC3D" subroutine from the Fortran90 file
  DC3D.f90 by Takuya Miyashita (https://github.com/hydrocoast/DC3D.f90), a
  free-form conversion of Y. Okada's original FORTRAN code, used under the
  MIT License:

    Copyright (c) 2020 Takuya Miyashita

    Permission is hereby granted, free of charge, to any person obtaining a
    copy of this software and associated documentation files
    (the "Software"), to deal in the Software without restriction, including
    without limitation the rights to use, copy, modify, merge, publish,
    distribute, sublicense, and/or sell copies of the Software, and to permit
    persons to whom the Software is furnished to do so, subject to the
    following conditions:

    The above copyright notice and this permission notice shall be included
    in all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
    OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
    NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
    DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
    OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
    USE OR OTHER DEALINGS IN THE SOFTWARE.

  The original DC3D code is copyright the National Research Institute for
  Earth Science and Disaster Resilience (NIED); the Fortran90 conversion was
  uploaded with the copyright holder's permission (see the upstream README).

  Reference:
    Okada, Y. (1992), "Internal deformation due to shear and tensile faults
    in a half-space", Bulletin of the Seismological Society of America,
    82(2), 1018-1040. (See also Okada, Y. (1985), BSSA 75(4), 1135-1154.)

-------------------------------------------------------------------------------

Acknowledgments (penny-shaped crack source)
  src/torchdeform/sources/penny.py is an INDEPENDENT implementation of the
  pressurised horizontal penny-shaped crack model, written solely from the
  published equations of Fialko et al. (2001) (Appendices A and B); the
  derivation is recorded in docs/penny_provenance.md. It contains no
  third-party source code. In addition, Yuri Fialko has kindly granted
  permission to use and distribute code based on the Fialko et al. (2001)
  paper (Y. Fialko, personal communication, 26 June 2026). The reference below
  is both a scientific acknowledgment and the basis of that grant.

  Reference:
    Fialko, Y., Khazan, Y. & Simons, M. (2001), "Deformation due to a
    pressurized horizontal circular crack in an elastic half-space, with
    applications to volcano geodesy", Geophysical Journal International,
    146(1), 181-190.

-------------------------------------------------------------------------------

Acknowledgments (CDM magmatic-style parameterisation)
  The convenience layer that restricts the CDM to named magmatic styles
  (src/torchdeform/sources/cdm.py: cdm_params_from_shape, and the DEFAULT_CDM_*
  presets in src/torchdeform/simulation/priors.py) is an INDEPENDENT
  implementation built from the elementary source geometry, the CDM potency
  relation of Nikkhoo et al. (2017) (see above), and physical validity thresholds
  taken from the published literature (Kavanagh & Sparks 2011; Krumbholz et al.
  2014; Anderson & Segall 2011; Heap et al. 2020). Its per-style parameterisation
  was extracted clean-room from the publication below and its supplement; the
  cited derivation is recorded in docs/cdm_style_provenance.md. It contains no
  third-party source code and carries no third-party copyleft/attribution
  obligation; the items below are scientific acknowledgments only.

  - The practice of driving compound-dislocation sources as named magmatic
    styles for geodetic Bayesian inversion was popularised by GBIS (Geodetic
    Bayesian Inversion Software, Marco Bagnardi, 2017; BSD 2-Clause).

  - The same style family is used for InSAR source inversion of the East African
    Rift System by Ben Ireland and colleagues. If you use these CDM-style priors,
    please cite:
      Ireland, B., Biggs, J., Albino, F., et al. (2026), "Along-rift variations
      in magma system geometry observed using Sentinel-1 InSAR data from the East
      African Rift System," ESS Open Archive, doi:10.22541/essoar.15001947/v1.
