Revision 495
(checked in by cbc, 12 years ago)
|
Initial import of Stark code.
|
Line | |
---|
1 |
% |
---|
2 |
% OPNMLINIT a setup file for OPNML matlab directories and datafiles. |
---|
3 |
% |
---|
4 |
% OPNMLINIT is a script that adds paths and variables to |
---|
5 |
% the local workspace so that matlab functions written for |
---|
6 |
% finite element work can be accessed. |
---|
7 |
% |
---|
8 |
% At the matlab command line prompt, type 'opnmlinit'. |
---|
9 |
% |
---|
10 |
% Brian O. Blanton |
---|
11 |
% Dept. in Marine Science |
---|
12 |
% 15-1A Venable Hall |
---|
13 |
% CB# 3300 |
---|
14 |
% Uni. of North Carolina |
---|
15 |
% Chapel Hill, NC |
---|
16 |
% 27599-3300 |
---|
17 |
% |
---|
18 |
% 919-962-4466 |
---|
19 |
% blanton@marine.unc.edu |
---|
20 |
% |
---|
21 |
disp(' '); |
---|
22 |
disp('Type "help opnml" for a list of routines written for '); |
---|
23 |
disp('finite element related applications.'); |
---|
24 |
disp(' '); |
---|
25 |
|
---|
26 |
set(0,'DefaultAxesBox','on') |
---|
27 |
|
---|
28 |
global OPNML |
---|
29 |
OPNML='C:\MATLAB6p1\toolbox\opnml'; |
---|
30 |
|
---|
31 |
% adding local paths to MATLABPATH ... |
---|
32 |
% |
---|
33 |
disp('adding local toolboxes (OPNML/FEDAR) to MATLABPATH ... '); |
---|
34 |
addpath([eval('OPNML') '\FDCONT'],'-end') |
---|
35 |
addpath([eval('OPNML') '\FEM'],'-end') |
---|
36 |
addpath([eval('OPNML') '\IO_Functions'],'-end') |
---|
37 |
addpath([eval('OPNML') '\MEX'],'-end') |
---|
38 |
addpath([eval('OPNML') '\basics'],'-end') |
---|
39 |
addpath([eval('OPNML') '\mat4'],'-end') |
---|
40 |
|
---|
41 |
%add_grid_database; |
---|
42 |
griddb; |
---|