Skip to content
Snippets Groups Projects
Commit 3847e7fe authored by Lars Hubatsch's avatar Lars Hubatsch
Browse files

Changing meshing for moving boundary.

parent 0fb3a7a4
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,8 @@ if strcmp(T.mode, 'Constituent') | T.v == 0 ...@@ -30,6 +30,8 @@ if strcmp(T.mode, 'Constituent') | T.v == 0
T.x(ind+21:end)]; T.x(ind+21:end)];
end end
elseif strcmp(T.mode, 'Client') && T.v ~= 0 elseif strcmp(T.mode, 'Client') && T.v ~= 0
T.x = linspace(0, T.system_size, 24000); % T.x = linspace(0, T.system_size, 24000);
T.x = [linspace(0, -T.a-1, 1000), linspace(-T.a-1+0.0001, -T.a+1, 4800),...
linspace(-T.a+1+0.0001, T.system_size, 1000)];
end end
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment