Required
dict_sources| Type: | list[dict] | dict |
| Description: | Parse a list of sources (or just a single source) as a dictionary to the proper objects. |
def parse(dict_sources: list[dict] | dict) -> list[_Base]: ...| Type: | list[dict] | dict |
| Description: | Parse a list of sources (or just a single source) as a dictionary to the proper objects. |
list[_Base]class MomentTensorPoint2D(salvus.flow.simple_config.source._BaseSource):
def __init__(
self,
x: float,
y: float,
mxx: float,
myy: float,
mxy: float,
source_time_function: (
salvus.flow.simple_config.stf._Base | None
) = None,
rotation_on_input: dict | None = None,
): ...| Type: | float |
| Description: | X coordinate of the source in meter. |
| Type: | float |
| Description: | Y coordinate of the source in meter. |
| Type: | float |
| Description: | XX component of the moment in Nm. |
| Type: | float |
| Description: | YY component of the moment in Nm. |
| Type: | float |
| Description: | XY component of the moment in Nm. |
| Type: | salvus.flow.simple_config.stf._Base | None |
| Default value: | None |
| Description: | Source time function. |
| Type: | dict | None |
| Default value: | None |
| Description: | Transform the input STF with this matrix. |
class MomentTensorPoint3D(salvus.flow.simple_config.source._BaseSource):
def __init__(
self,
x: float,
y: float,
z: float,
mxx: float,
myy: float,
mzz: float,
myz: float,
mxz: float,
mxy: float,
source_time_function: (
salvus.flow.simple_config.stf._Base | None
) = None,
rotation_on_input: dict | None = None,
): ...| Type: | float |
| Description: | X coordinate of the source in meter. |
| Type: | float |
| Description: | Y coordinate of the source in meter. |
| Type: | float |
| Description: | Z coordinate of the source in meter. |
| Type: | float |
| Description: | XX component of the moment in Nm. |
| Type: | float |
| Description: | YY component of the moment in Nm. |
| Type: | float |
| Description: | ZZ component of the moment in Nm. |
| Type: | float |
| Description: | YZ component of the moment in Nm. |
| Type: | float |
| Description: | XZ component of the moment in Nm. |
| Type: | float |
| Description: | XY component of the moment in Nm. |
| Type: | salvus.flow.simple_config.stf._Base | None |
| Default value: | None |
| Description: | Source time function. |
| Type: | dict | None |
| Default value: | None |
| Description: | Transform the input STF with this matrix. |
class ScalarGradientPoint2D(salvus.flow.simple_config.source._BaseSource):
def __init__(
self,
x: float,
y: float,
fx: float,
fy: float,
source_time_function: (
salvus.flow.simple_config.stf._Base | None
) = None,
rotation_on_input: dict | None = None,
): ...| Type: | float |
| Description: | X coordinate of the source in meter. |
| Type: | float |
| Description: | Y coordinate of the source in meter. |
| Type: | float |
| Description: | Source amplitude scaling factor of X component. |
| Type: | float |
| Description: | Source amplitude scaling factor of Y component. |
| Type: | salvus.flow.simple_config.stf._Base | None |
| Default value: | None |
| Description: | Source time function. |
| Type: | dict | None |
| Default value: | None |
| Description: | Transform the input STF with this matrix. |
class ScalarGradientPoint3D(salvus.flow.simple_config.source._BaseSource):
def __init__(
self,
x: float,
y: float,
z: float,
fx: float,
fy: float,
fz: float,
source_time_function: (
salvus.flow.simple_config.stf._Base | None
) = None,
rotation_on_input: dict | None = None,
): ...| Type: | float |
| Description: | X coordinate of the source in meter. |
| Type: | float |
| Description: | Y coordinate of the source in meter. |
| Type: | float |
| Description: | Z coordinate of the source in meter. |
| Type: | float |
| Description: | Source amplitude scaling factor of X component. |
| Type: | float |
| Description: | Source amplitude scaling factor of Y component. |
| Type: | float |
| Description: | Source amplitude scaling factor of Z component. |
| Type: | salvus.flow.simple_config.stf._Base | None |
| Default value: | None |
| Description: | Source time function. |
| Type: | dict | None |
| Default value: | None |
| Description: | Transform the input STF with this matrix. |
class ScalarPoint2D(salvus.flow.simple_config.source._BaseSource):
def __init__(
self,
x: float,
y: float,
f: float,
source_time_function: (
salvus.flow.simple_config.stf._Base | None
) = None,
): ...| Type: | float |
| Description: | X coordinate of the source in meter. |
| Type: | float |
| Description: | Y coordinate of the source in meter. |
| Type: | float |
| Description: | Source amplitude scaling factor. |
| Type: | salvus.flow.simple_config.stf._Base | None |
| Default value: | None |
| Description: | Source time function. |
class ScalarPoint3D(salvus.flow.simple_config.source._BaseSource):
def __init__(
self,
x: float,
y: float,
z: float,
f: float,
source_time_function: (
salvus.flow.simple_config.stf._Base | None
) = None,
): ...| Type: | float |
| Description: | X coordinate of the source in meter. |
| Type: | float |
| Description: | Y coordinate of the source in meter. |
| Type: | float |
| Description: | Z coordinate of the source in meter. |
| Type: | float |
| Description: | Source amplitude scaling factor. |
| Type: | salvus.flow.simple_config.stf._Base | None |
| Default value: | None |
| Description: | Source time function. |
class SideSetMomentTensorPoint2D(
salvus.flow.simple_config.side_set_base._SideSetBase,
salvus.flow.simple_config.source._SideSetSource,
):
def __init__(
self,
point: np.ndarray,
direction: Union[np.ndarray, str],
offset: float = 0.0,
side_set_name: str,
mxx: "float",
myy: "float",
mxy: "float",
source_time_function: "salvus.flow.simple_config.stf._Base | None" = None,
rotation_on_input: "dict | None" = None,
): ...| Type: | np.ndarray |
| Description: | Reference point for the side set receiver placement. |
| Type: | Union[np.ndarray, str] |
| Description: | Direction vector for the side set receiver placement. |
| Type: | float |
| Default value: | 0.0 |
| Description: | Offset in the direction vector in meter. |
| Type: | str |
| Description: | Name of the side set to intersect. |
| Type: | 'float' |
| Description: | XX component of the moment in Nm. |
| Type: | 'float' |
| Description: | YY component of the moment in Nm. |
| Type: | 'float' |
| Description: | XY component of the moment in Nm. |
| Type: | 'salvus.flow.simple_config.stf._Base | None' |
| Default value: | None |
| Description: | Source time function. |
| Type: | 'dict | None' |
| Default value: | None |
| Description: | Transform the input STF according to this matrix. |
class SideSetMomentTensorPoint3D(
salvus.flow.simple_config.side_set_base._SideSetBase,
salvus.flow.simple_config.source._SideSetSource,
):
def __init__(
self,
point: np.ndarray,
direction: Union[np.ndarray, str],
offset: float = 0.0,
side_set_name: str,
mxx: "float",
myy: "float",
mzz: "float",
myz: "float",
mxz: "float",
mxy: "float",
source_time_function: "salvus.flow.simple_config.stf._Base | None" = None,
rotation_on_input: "dict | None" = None,
): ...| Type: | np.ndarray |
| Description: | Reference point for the side set receiver placement. |
| Type: | Union[np.ndarray, str] |
| Description: | Direction vector for the side set receiver placement. |
| Type: | float |
| Default value: | 0.0 |
| Description: | Offset in the direction vector in meter. |
| Type: | str |
| Description: | Name of the side set to intersect. |
| Type: | 'float' |
| Description: | XX component of the moment in Nm. |
| Type: | 'float' |
| Description: | YY component of the moment in Nm. |
| Type: | 'float' |
| Description: | ZZ component of the moment in Nm. |
| Type: | 'float' |
| Description: | YZ component of the moment in Nm. |
| Type: | 'float' |
| Description: | XZ component of the moment in Nm. |
| Type: | 'float' |
| Description: | XY component of the moment in Nm. |
| Type: | 'salvus.flow.simple_config.stf._Base | None' |
| Default value: | None |
| Description: | Source time function. |
| Type: | 'dict | None' |
| Default value: | None |
| Description: | Transform the input STF according to this matrix. |
class SideSetScalarGradientPoint2D(
salvus.flow.simple_config.side_set_base._SideSetBase,
salvus.flow.simple_config.source._SideSetSource,
):
def __init__(
self,
point: np.ndarray,
direction: Union[np.ndarray, str],
offset: float = 0.0,
side_set_name: str,
fx: "float",
fy: "float",
source_time_function: "salvus.flow.simple_config.stf._Base | None" = None,
rotation_on_input: "dict | None" = None,
): ...| Type: | np.ndarray |
| Description: | Reference point for the side set receiver placement. |
| Type: | Union[np.ndarray, str] |
| Description: | Direction vector for the side set receiver placement. |
| Type: | float |
| Default value: | 0.0 |
| Description: | Offset in the direction vector in meter. |
| Type: | str |
| Description: | Name of the side set to intersect. |
| Type: | 'float' |
| Description: | Source amplitude scaling factor of X component. |
| Type: | 'float' |
| Description: | Source amplitude scaling factor of Y component. |
| Type: | 'salvus.flow.simple_config.stf._Base | None' |
| Default value: | None |
| Description: | Source time function. |
| Type: | 'dict | None' |
| Default value: | None |
| Description: | Transform the input STF according to this matrix. |
class SideSetScalarGradientPoint3D(
salvus.flow.simple_config.side_set_base._SideSetBase,
salvus.flow.simple_config.source._SideSetSource,
):
def __init__(
self,
point: np.ndarray,
direction: Union[np.ndarray, str],
offset: float = 0.0,
side_set_name: str,
fx: "float",
fy: "float",
fz: "float",
source_time_function: "salvus.flow.simple_config.stf._Base | None" = None,
rotation_on_input: "dict | None" = None,
): ...| Type: | np.ndarray |
| Description: | Reference point for the side set receiver placement. |
| Type: | Union[np.ndarray, str] |
| Description: | Direction vector for the side set receiver placement. |
| Type: | float |
| Default value: | 0.0 |
| Description: | Offset in the direction vector in meter. |
| Type: | str |
| Description: | Name of the side set to intersect. |
| Type: | 'float' |
| Description: | Source amplitude scaling factor of X component. |
| Type: | 'float' |
| Description: | Source amplitude scaling factor of Y component. |
| Type: | 'float' |
| Description: | Source amplitude scaling factor of Z component. |
| Type: | 'salvus.flow.simple_config.stf._Base | None' |
| Default value: | None |
| Description: | Source time function. |
| Type: | 'dict | None' |
| Default value: | None |
| Description: | Transform the input STF according to this matrix. |
class SideSetScalarPoint2D(
salvus.flow.simple_config.side_set_base._SideSetBase,
salvus.flow.simple_config.source._SideSetSource,
):
def __init__(
self,
point: np.ndarray,
direction: Union[np.ndarray, str],
offset: float = 0.0,
side_set_name: str,
f: "float",
source_time_function: "salvus.flow.simple_config.stf._Base | None" = None,
): ...| Type: | np.ndarray |
| Description: | Reference point for the side set receiver placement. |
| Type: | Union[np.ndarray, str] |
| Description: | Direction vector for the side set receiver placement. |
| Type: | float |
| Default value: | 0.0 |
| Description: | Offset in the direction vector in meter. |
| Type: | str |
| Description: | Name of the side set to intersect. |
| Type: | 'float' |
| Description: | Source amplitude scaling factor. |
| Type: | 'salvus.flow.simple_config.stf._Base | None' |
| Default value: | None |
| Description: | Source time function. |
class SideSetScalarPoint3D(
salvus.flow.simple_config.side_set_base._SideSetBase,
salvus.flow.simple_config.source._SideSetSource,
):
def __init__(
self,
point: np.ndarray,
direction: Union[np.ndarray, str],
offset: float = 0.0,
side_set_name: str,
f: "float",
source_time_function: "salvus.flow.simple_config.stf._Base | None" = None,
): ...| Type: | np.ndarray |
| Description: | Reference point for the side set receiver placement. |
| Type: | Union[np.ndarray, str] |
| Description: | Direction vector for the side set receiver placement. |
| Type: | float |
| Default value: | 0.0 |
| Description: | Offset in the direction vector in meter. |
| Type: | str |
| Description: | Name of the side set to intersect. |
| Type: | 'float' |
| Description: | Source amplitude scaling factor. |
| Type: | 'salvus.flow.simple_config.stf._Base | None' |
| Default value: | None |
| Description: | Source time function. |
class SideSetVectorGradientPoint2D(
salvus.flow.simple_config.side_set_base._SideSetBase,
salvus.flow.simple_config.source._SideSetSource,
):
def __init__(
self,
point: np.ndarray,
direction: Union[np.ndarray, str],
offset: float = 0.0,
side_set_name: str,
gxx: "float",
gxy: "float",
gyx: "float",
gyy: "float",
source_time_function: "salvus.flow.simple_config.stf._Base | None" = None,
rotation_on_input: "dict | None" = None,
): ...| Type: | np.ndarray |
| Description: | Reference point for the side set receiver placement. |
| Type: | Union[np.ndarray, str] |
| Description: | Direction vector for the side set receiver placement. |
| Type: | float |
| Default value: | 0.0 |
| Description: | Offset in the direction vector in meter. |
| Type: | str |
| Description: | Name of the side set to intersect. |
| Type: | 'float' |
| Description: | XX component of the gradient in Nm. |
| Type: | 'float' |
| Description: | XY component of the gradient in Nm. |
| Type: | 'float' |
| Description: | YX component of the gradient in Nm. |
| Type: | 'float' |
| Description: | YY component of the gradient in Nm. |
| Type: | 'salvus.flow.simple_config.stf._Base | None' |
| Default value: | None |
| Description: | Source time function. |
| Type: | 'dict | None' |
| Default value: | None |
| Description: | Transform the input STF according to this matrix. |
class SideSetVectorGradientPoint3D(
salvus.flow.simple_config.side_set_base._SideSetBase,
salvus.flow.simple_config.source._SideSetSource,
):
def __init__(
self,
point: np.ndarray,
direction: Union[np.ndarray, str],
offset: float = 0.0,
side_set_name: str,
gxx: "float",
gxy: "float",
gxz: "float",
gyx: "float",
gyy: "float",
gyz: "float",
gzx: "float",
gzy: "float",
gzz: "float",
source_time_function: "salvus.flow.simple_config.stf._Base | None" = None,
rotation_on_input: "dict | None" = None,
): ...| Type: | np.ndarray |
| Description: | Reference point for the side set receiver placement. |
| Type: | Union[np.ndarray, str] |
| Description: | Direction vector for the side set receiver placement. |
| Type: | float |
| Default value: | 0.0 |
| Description: | Offset in the direction vector in meter. |
| Type: | str |
| Description: | Name of the side set to intersect. |
| Type: | 'float' |
| Description: | XX component of the gradient in Nm. |
| Type: | 'float' |
| Description: | XY component of the gradient in Nm. |
| Type: | 'float' |
| Description: | XZ component of the gradient in Nm. |
| Type: | 'float' |
| Description: | YX component of the gradient in Nm. |
| Type: | 'float' |
| Description: | YY component of the gradient in Nm. |
| Type: | 'float' |
| Description: | YZ component of the gradient in Nm. |
| Type: | 'float' |
| Description: | ZX component of the gradient in Nm. |
| Type: | 'float' |
| Description: | ZY component of the gradient in Nm. |
| Type: | 'float' |
| Description: | ZZ component of the gradient in Nm. |
| Type: | 'salvus.flow.simple_config.stf._Base | None' |
| Default value: | None |
| Description: | Source time function. |
| Type: | 'dict | None' |
| Default value: | None |
| Description: | Transform the input STF according to this matrix. |
class SideSetVectorPoint2D(
salvus.flow.simple_config.side_set_base._SideSetBase,
salvus.flow.simple_config.source._SideSetSource,
):
def __init__(
self,
point: np.ndarray,
direction: Union[np.ndarray, str],
offset: float = 0.0,
side_set_name: str,
fx: "float",
fy: "float",
source_time_function: "salvus.flow.simple_config.stf._Base | None" = None,
rotation_on_input: "dict | None" = None,
): ...| Type: | np.ndarray |
| Description: | Reference point for the side set receiver placement. |
| Type: | Union[np.ndarray, str] |
| Description: | Direction vector for the side set receiver placement. |
| Type: | float |
| Default value: | 0.0 |
| Description: | Offset in the direction vector in meter. |
| Type: | str |
| Description: | Name of the side set to intersect. |
| Type: | 'float' |
| Description: | X component of the force in N. |
| Type: | 'float' |
| Description: | Y component of the force in N. |
| Type: | 'salvus.flow.simple_config.stf._Base | None' |
| Default value: | None |
| Description: | Source time function. |
| Type: | 'dict | None' |
| Default value: | None |
| Description: | Transform the input STF according to this matrix. |
class SideSetVectorPoint3D(
salvus.flow.simple_config.side_set_base._SideSetBase,
salvus.flow.simple_config.source._SideSetSource,
):
def __init__(
self,
point: np.ndarray,
direction: Union[np.ndarray, str],
offset: float = 0.0,
side_set_name: str,
fx: "float",
fy: "float",
fz: "float",
source_time_function: "salvus.flow.simple_config.stf._Base | None" = None,
rotation_on_input: "dict | None" = None,
): ...| Type: | np.ndarray |
| Description: | Reference point for the side set receiver placement. |
| Type: | Union[np.ndarray, str] |
| Description: | Direction vector for the side set receiver placement. |
| Type: | float |
| Default value: | 0.0 |
| Description: | Offset in the direction vector in meter. |
| Type: | str |
| Description: | Name of the side set to intersect. |
| Type: | 'float' |
| Description: | X component of the force in N. |
| Type: | 'float' |
| Description: | Y component of the force in N. |
| Type: | 'float' |
| Description: | Z component of the force in N. |
| Type: | 'salvus.flow.simple_config.stf._Base | None' |
| Default value: | None |
| Description: | Source time function. |
| Type: | 'dict | None' |
| Default value: | None |
| Description: | Transform the input STF according to this matrix. |
class VectorGradientPoint2D(salvus.flow.simple_config.source._BaseSource):
def __init__(
self,
x: float,
y: float,
gxx: float,
gxy: float,
gyx: float,
gyy: float,
source_time_function: (
salvus.flow.simple_config.stf._Base | None
) = None,
rotation_on_input: dict | None = None,
): ...| Type: | float |
| Description: | X coordinate of the source in meter. |
| Type: | float |
| Description: | Y coordinate of the source in meter. |
| Type: | float |
| Description: | XX component of the gradient in Nm. |
| Type: | float |
| Description: | XY component of the gradient in Nm. |
| Type: | float |
| Description: | YX component of the gradient in Nm. |
| Type: | float |
| Description: | YY component of the gradient in Nm. |
| Type: | salvus.flow.simple_config.stf._Base | None |
| Default value: | None |
| Description: | Source time function. |
| Type: | dict | None |
| Default value: | None |
| Description: | Transform the input STF with this matrix. |
class VectorGradientPoint3D(salvus.flow.simple_config.source._BaseSource):
def __init__(
self,
x: float,
y: float,
z: float,
gxx: float,
gxy: float,
gxz: float,
gyx: float,
gyy: float,
gyz: float,
gzx: float,
gzy: float,
gzz: float,
source_time_function: (
salvus.flow.simple_config.stf._Base | None
) = None,
rotation_on_input: dict | None = None,
): ...| Type: | float |
| Description: | X coordinate of the source in meter. |
| Type: | float |
| Description: | Y coordinate of the source in meter. |
| Type: | float |
| Description: | Z coordinate of the source in meter. |
| Type: | float |
| Description: | XX component of the gradient in Nm. |
| Type: | float |
| Description: | XY component of the gradient in Nm. |
| Type: | float |
| Description: | XZ component of the gradient in Nm. |
| Type: | float |
| Description: | YX component of the gradient in Nm. |
| Type: | float |
| Description: | YY component of the gradient in Nm. |
| Type: | float |
| Description: | YZ component of the gradient in Nm. |
| Type: | float |
| Description: | ZX component of the gradient in Nm. |
| Type: | float |
| Description: | ZY component of the gradient in Nm. |
| Type: | float |
| Description: | ZZ component of the gradient in Nm. |
| Type: | salvus.flow.simple_config.stf._Base | None |
| Default value: | None |
| Description: | Source time function. |
| Type: | dict | None |
| Default value: | None |
| Description: | Transform the input STF with this matrix. |
class VectorPoint2D(salvus.flow.simple_config.source._BaseSource):
def __init__(
self,
x: float,
y: float,
fx: float,
fy: float,
source_time_function: (
salvus.flow.simple_config.stf._Base | None
) = None,
rotation_on_input: dict | None = None,
): ...| Type: | float |
| Description: | X coordinate of the source in meter. |
| Type: | float |
| Description: | Y coordinate of the source in meter. |
| Type: | float |
| Description: | X component of the force in N. |
| Type: | float |
| Description: | Y component of the force in N. |
| Type: | salvus.flow.simple_config.stf._Base | None |
| Default value: | None |
| Description: | Source time function. |
| Type: | dict | None |
| Default value: | None |
| Description: | Transform the input STF with this matrix. |
class VectorPoint3D(salvus.flow.simple_config.source._BaseSource):
def __init__(
self,
x: float,
y: float,
z: float,
fx: float,
fy: float,
fz: float,
source_time_function: (
salvus.flow.simple_config.stf._Base | None
) = None,
rotation_on_input: dict | None = None,
): ...| Type: | float |
| Description: | X coordinate of the source in meter. |
| Type: | float |
| Description: | Y coordinate of the source in meter. |
| Type: | float |
| Description: | Z coordinate of the source in meter. |
| Type: | float |
| Description: | X component of the force in N. |
| Type: | float |
| Description: | Y component of the force in N. |
| Type: | float |
| Description: | Z component of the force in N. |
| Type: | salvus.flow.simple_config.stf._Base | None |
| Default value: | None |
| Description: | Source time function. |
| Type: | dict | None |
| Default value: | None |
| Description: | Transform the input STF with this matrix. |