salvus.flow.simple_config.source.cartesian.collections
Cartesian source collections.
Classes
MomentTensorPoint2DRing
MomentTensorPoint2DRingclass MomentTensorPoint2DRing(
salvus.flow.simple_config.source.cartesian.collections._RingBase
):
def __init__(
self,
x: float,
y: float,
radius: float,
count: int,
mxx: float,
myy: float,
mxy: float,
source_time_function: Optional[
salvus.flow.simple_config.stf._Base
] = None,
):
...Create a ring of MomentTensorPoint2D sources.
Parameters
xfloat — x-coordinate of the center.yfloat — y-coordinate of the center.radiusfloat — Radius of the ring.countint — Number or receivers to create.mxxfloat — XX component of the moment in Nm.myyfloat — YY component of the moment in Nm.mxyfloat — XY component of the moment in Nm.source_time_functionOptional[salvus.flow.simple_config.stf._Base] — Source time function.
ScalarGradientPoint2DRing
ScalarGradientPoint2DRingclass ScalarGradientPoint2DRing(
salvus.flow.simple_config.source.cartesian.collections._RingBase
):
def __init__(
self,
x: float,
y: float,
radius: float,
count: int,
fx: float,
fy: float,
source_time_function: Optional[
salvus.flow.simple_config.stf._Base
] = None,
):
...Create a ring of ScalarGradientPoint2D sources.
Parameters
xfloat — x-coordinate of the center.yfloat — y-coordinate of the center.radiusfloat — Radius of the ring.countint — Number or receivers to create.fxfloat — Source amplitude scaling factor of X component.fyfloat — Source amplitude scaling factor of Y component.source_time_functionOptional[salvus.flow.simple_config.stf._Base] — Source time function.
ScalarPoint2DRing
ScalarPoint2DRingclass ScalarPoint2DRing(
salvus.flow.simple_config.source.cartesian.collections._RingBase
):
def __init__(
self,
x: float,
y: float,
radius: float,
count: int,
f: float,
source_time_function: Optional[
salvus.flow.simple_config.stf._Base
] = None,
):
...Create a ring of ScalarPoint2D sources.
Parameters
xfloat — x-coordinate of the center.yfloat — y-coordinate of the center.radiusfloat — Radius of the ring.countint — Number or receivers to create.ffloat — Source amplitude scaling factor.source_time_functionOptional[salvus.flow.simple_config.stf._Base] — Source time function.
VectorPoint2DRing
VectorPoint2DRingclass VectorPoint2DRing(
salvus.flow.simple_config.source.cartesian.collections._RingBase
):
def __init__(
self,
x: float,
y: float,
radius: float,
count: int,
fx: float,
fy: float,
source_time_function: Optional[
salvus.flow.simple_config.stf._Base
] = None,
):
...Create a ring of VectorPoint2D sources.
Parameters
xfloat — x-coordinate of the center.yfloat — y-coordinate of the center.radiusfloat — Radius of the ring.countint — Number or receivers to create.fxfloat — X component of the force in N.fyfloat — Y component of the force in N.source_time_functionOptional[salvus.flow.simple_config.stf._Base] — Source time function.