Filters

Filters accept only a subsets of points and allows for the spatial partitioning of models.

Any

Any mostly serves as a root node and accepts every point and every group.

!Any
Domain

inherited

Codomain

domain

Example

1_groups

AxisAlignedCuboidalDomainFilter

Accepts only points inside an axis-aligned bounding box, i.e. when \(l_x \leq x \leq u_x\) and \(l_y \leq y \leq u_y\) and …

!AxisAlignedCuboidalDomainFilter
limits:
  <dimension>: [<double>, <double>] # [l_x, u_x]
  <dimension>: [<double>, <double>] # [l_y, u_y]
  ...
Domain

codomain

Codomain

keys of limits

Example

f_103_scec

SphericalDomainFilter

Accepts only points inside a sphere, i.e. when \(\lVert x-c\rVert \leq r\).

!SphericalDomainFilter
radius: <double>
centre:
  <dimension>: <double>
  <dimension>: <double>
  ...
Domain

codomain

Codomain

keys of centre

GroupFilter

Accepts only points belonging to a set of groups.

!GroupFilter
groups: [<int>,<int>,...]
Domain

inherited

Codomain

domain

Example

120_sumatra

Switch

Can be used to use select a component based on the requested parameters.

!Switch
[<parameter>,<parameter>,...]: <component>
[<parameter>,<parameter>,...]: <component>
...
Domain

inherited

Codomain

domain

Example

120_sumatra: [mu_d, mu_s, d_c] are defined with a !ConstantMap and [cohesion, forced_rupture_time] are defined with a !FunctionMap.

The component on the right-hand side of the colon specifies a sub-model for the parameters on the left-hand side of the colon. The parameter lists must not intersect, as otherwise the sub-model, which shall be evaluated for a parameter, would not be uniquely defined.