Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Frap Theory
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hubatsch
Frap Theory
Commits
f77666c5
Commit
f77666c5
authored
4 years ago
by
Lars Hubatsch
Browse files
Options
Downloads
Patches
Plain Diff
Reduced difference in normalization to 2.5%.
parent
6932c1f7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
prob_laplace.m
+7
-7
7 additions, 7 deletions
prob_laplace.m
with
7 additions
and
7 deletions
prob_laplace.m
+
7
−
7
View file @
f77666c5
...
...
@@ -304,22 +304,22 @@ end
%% MOVING BOUNDARY JUMP LENGTH DISTRIBUTION
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% load entropy_mov_bound_in_to_out.mat
direc
=
-
1
;
% 1: jump from left to right, -1: jump from right to left.
x0
=
sort
(
10
-
direc
*
(
0
:
0.0
2
:
4.01
));
direc
=
1
;
% 1: jump from left to right, -1: jump from right to left.
x0
=
sort
(
10
-
direc
*
(
0
:
0.0
05
:
4.01
));
% t_snap = repmat((0.25:0.5:9.75)', 1, length(x0)); % midpoint
t_snap
=
repmat
((
0.
:
0.5
:
9.5
)
'
,
1
,
length
(
x0
));
% starting point
si_t
=
size
(
t_snap
);
x0
=
sort
(
10
-
T_mov
.
v
*
t_snap
-
direc
*
repmat
(
0
:
0.0
2
:
4.01
,
[
si_t
(
1
),
1
]),
2
);
x0
=
sort
(
10
-
T_mov
.
v
*
t_snap
-
direc
*
repmat
(
0
:
0.0
05
:
4.01
,
[
si_t
(
1
),
1
]),
2
);
%% Run simulations for 'delta' IC across outside
F
=
{};
t
=
linspace
(
0
,
1
,
21
);
params
=
params_mov_bound
;
for
j
=
1
:
si_t
(
1
)
tic
parfor
i
=
1
:
si_t
(
2
)
params
=
params_mov_bound
;
params
{
8
}
=
x0
(
j
,
i
);
params
{
1
}
=
-
10
+
params
{
9
}
*
t_snap
(
j
);
F
{
i
,
j
}
=
Ternary_model
(
0
,
'Gauss'
,
params
,
t
,
0.1
);
F
{
i
,
j
}
.
x0
=
x0
(
j
,
i
);
F
{
i
,
j
}
.
a
=
-
10
+
F
{
i
,
j
}
.
v
*
t_snap
(
j
);
F
{
i
,
j
}
.
solve_tern_frap
();
end
toc
...
...
@@ -336,7 +336,7 @@ for j = 1:n_T
tic
F1
=
F
(:,
j
);
bp
=
bound
(
j
);
for
i
=
1
:
length
(
ls
)
par
for
i
=
1
:
length
(
ls
)
p
(
i
,
j
)
=
int_prob
(
ls
(
i
),
F1
,
x0
(
j
,
:),
direc
,
j
,
bp
,
10
,
T_mov
);
end
toc
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment