-
Notifications
You must be signed in to change notification settings - Fork 4
/
PDMATLAB2D.m
37 lines (28 loc) · 1.33 KB
/
PDMATLAB2D.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
% ========================================================================
% Copyright (c) 2022 by Oak Ridge National Laboratory
% All rights reserved.
%
% This file is part of PDMATLAB2D. PDMATLAB2D is distributed under a
% BSD 3-clause license. For the licensing terms see the LICENSE file in
% the top-level directory.
%
% SPDX-License-Identifier: BSD-3-Clause
% ========================================================================
function PDMATLAB2D(InputDeck)
% Close all figures
close all
% Clear variables from memory
clearvars a* -except InputDeck
% Clear command window
clc
% Print simulation title
fprintf(' ================================================================ \n')
fprintf(' %s \n',InputDeck)
fprintf(' ================================================================ \n\n')
% Read input deck for specific simulation problem
cd('InputFiles/')
run(InputDeck);
% Run Main script
cd('../Source/')
Main
cd ..