From 21098fde7598ee2e552f0d7ffaa883069e87dcfd Mon Sep 17 00:00:00 2001 From: Edoardo Patelli Date: Wed, 22 Apr 2020 22:16:58 +0100 Subject: [PATCH] Add initialise script to the root of the folder --- .../@SubSet/computeFailureProbability.m | 5 ++--- initialise.m | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 initialise.m diff --git a/COSSANXengine/src/simulations/@SubSet/computeFailureProbability.m b/COSSANXengine/src/simulations/@SubSet/computeFailureProbability.m index 217659e1..6f6782bb 100644 --- a/COSSANXengine/src/simulations/@SubSet/computeFailureProbability.m +++ b/COSSANXengine/src/simulations/@SubSet/computeFailureProbability.m @@ -1,7 +1,6 @@ function [Xpf,varargout]=computeFailureProbability(Xobj,Xtarget) -%COMPUTEFAILUREPROBABILITY method. This method computes the Failure -%Probability (pf) associate to a ProbabilisticModel / SystemReliability / -%MetaModel by means of SubSet Simulation methods. +%COMPUTEFAILUREPROBABILITY computes the failure probability using subset simulation +% of the associate ProbabilisticModel. % % See also: % https://cossan.co.uk/wiki/index.php/computeFailureProbability@Simulation diff --git a/initialise.m b/initialise.m new file mode 100644 index 00000000..54d9b0b3 --- /dev/null +++ b/initialise.m @@ -0,0 +1,14 @@ +% Initialise OpenCossan +% +% Usage run this script + + +% Author: Edoardo Patelli +% Cossan Working Group +% email address: openengine@cossan.co.uk +% Website: https://www.cossan.co.uk + +FullPath=fileparts(mfilename('fullpath')); +cd COSSANXengine/src/common/ +OpenCossan +cd(FullPath) \ No newline at end of file