Last change
on this file since 12888 was 12888, checked in by jschierm, 13 years ago |
Running python versions of setflowequation (and more).
|
File size:
898 bytes
|
Rev | Line | |
---|
[1] | 1 | function [hutterflag macayealflag pattynflag stokesflag filltype]=recover_areas(md,varargin);
|
---|
| 2 | %RECOVER_AREAS - flag the element depending on the physical model that is assigned to them
|
---|
| 3 | %
|
---|
| 4 | % This routine is called by setelementstype, do not use
|
---|
| 5 | %
|
---|
| 6 | % Usage:
|
---|
| 7 | % [hutterflag macayealflag pattynflag stokesflag filltype]=recover_areas(md,varargin);
|
---|
| 8 |
|
---|
| 9 | %go through varargin, extract options and plug them into subtype options, by order of appearance
|
---|
[2395] | 10 | options=pairoptions(varargin{:});
|
---|
| 11 | options=deleteduplicates(options,1);
|
---|
[1] | 12 |
|
---|
[2395] | 13 | %recover elements distribution
|
---|
[2968] | 14 | hutterflag =FlagElements(md,getfieldvalue(options,'hutter',''));
|
---|
| 15 | macayealflag=FlagElements(md,getfieldvalue(options,'macayeal',''));
|
---|
| 16 | pattynflag =FlagElements(md,getfieldvalue(options,'pattyn',''));
|
---|
| 17 | stokesflag =FlagElements(md,getfieldvalue(options,'stokes',''));
|
---|
[2395] | 18 | filltype =getfieldvalue(options,'fill','none');
|
---|
[1] | 19 |
|
---|
| 20 | end %end function
|
---|
| 21 |
|
---|
| 22 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.