# Set of regression tests: *examples*

This set of Regression Tests aims to be slightly more practical orientated than the test-set.

## Execute a single test from the set

First of all you have to change into the

Thereafter you can execute the script

*test*directory of*flx_testing*.Thereafter you can execute the script

*test.sh*:
Terminal

bash test.sh PATH_TO_THE_FESSLIX_EXECUTABLE ../examples/NAME_OF_TEST /tmp/fesslix_tests/ example YES_OR_NO_FOR_LEAK_CHECK

e.g.:

Terminal

bash test.sh ../build/src/fesslix ../examples/fem_PSbeam /tmp/fesslix_tests/ example no

## Tests in this set

**bayup_beam**:

Bayesian updating: based on observations, the Young's modulus of a beam is updated**bayup_beam2**:

Bayesian updating: based on observations, the Young's modulus of a beam is updated. The observations were generated by a different model.**bayup_skilling_sphere**:

Bayesian updating: solves the simple example published in: Skilling (2006)**bayup_straub2013**:

Bayesian updating: solves the example published in: Straub and Papaioannou (2013)**bayup_straub2013_octave**:

Bayesian updating: solves the example published in: Straub and Papaioannou (2013). The likelihood function is defined by means of an Octave-function.**beam_FORM**:

FORM is applied to solve a reliability problem. The structural model is: a single-span beam. The limit-state function is formulated analytically.**binaryRF**:

This example demonstrates how model binary random fields**binaryRV**:

This example demonstrates how model binary random variables**dyna_sdof**:

This example illustrates how the dyna-library is used.**fc_rf**:

demonstrates how to use finite cells (plane stress)**fem_Bbeam**:

demonstrates how to use fem**fem_PSbeam**:

demonstrates how to use elplanestr and fem**fem_random**:

demonstrates how to use RVs and RFs in a FEM problem**funplot_reliability_index**:

demonstrates how to use funplot**mci_rf**:

This example demonstrates how to use random fields (in a material)**mci_truss**:

This example demonstrates how to use MCI in combination with 'fem'.**rnd_ips**:

demonstrates how to use ips**sfem_rf**:

This example demonstrates how to use random fields in the SSFEM module.**sfem_truss**:

This example demonstrates how to use the SSFEM module.**ssfc**:

This example demonstrates how to use the SSFE method in combination with finite cells.**subsetsimulation**:

Subset simulation is applied to estimate the probability of failure of an analytically definied limit-state function.