Path: news.mathworks.com!newsfeed-00.mathworks.com!fu-berlin.de!nuzba.szn.dk!pnx.dk!feeder.eternal-september.org!eternal-september.org!not-for-mail
From: dpb <none@non.net>
Newsgroups: comp.soft-sys.matlab
Subject: Re: fortran mex file and common blocs
Date: Tue, 03 Nov 2009 07:42:59 -0600
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <hcpcam$bn5$2@news.eternal-september.org>
References: <hcpatj$lf1$1@fred.mathworks.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.eternal-september.org U2FsdGVkX1+1ZSn7UoN08ZUaqgwoKCVQFtgW4YuYYnBhj5z5UL36fHwXJOObsN0sIAeNTcrQhO7n7eDah5WLvY+ZsC3Gpr9TNcr5EAt81MPV+ZrQkZoLNCVxFQZ85YmJsfASkRRmGEM=
X-Complaints-To: abuse@eternal-september.org
NNTP-Posting-Date: Tue, 3 Nov 2009 13:48:07 +0000 (UTC)
In-Reply-To: <hcpatj$lf1$1@fred.mathworks.com>
X-Auth-Sender: U2FsdGVkX1/A4IeoGfG22y63hujlEMgP+MTveg1Irtk=
Cancel-Lock: sha1:IRn2a9gdb4pI4yn579EaMmsIQNg=
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
Xref: news.mathworks.com comp.soft-sys.matlab:582040


abdelmoumen wrote:
> hi everybody
> 
> i have split the source code of the 4nec2dx into many .f files
> containing each one a subroutine or a function
> 
> the problem is that there are many "COMMON" blocs that in some
> tutorials i have to delete them but what i make in the
> place???????????????????? please if you can give me an example it
> will be better because i dont know programming in fortran

What does this have to do w/ Matlab?  I've no clue what 4nec2dx is for 
starters but "modern" Fortran (defined as F90+) would USE module 
variables in place of COMMON.  Sounds like you need a Fortran text.

--