How to distinguish family of waves in ocean?
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
How to distinguish family of waves in ocean?

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence
Author Message
Guest






Posted: Mon Dec 06, 2004 10:04 pm    Post subject: How to distinguish family of waves in ocean? Reply with quote

I'm just finished writing an ocean analysis procedure in ocean that
takes in a waveform and spits out an integer. I would now like to make
the procedure work seemlessly in the Monte Carlo environment. I believe
I need to add code to distinguish between inputs that contain multiple
simulation results and simple waves. Is there a way in ocean to
determine if a wave object is a family of waves or not?

And if the object is a family, is there a way to determine if it
contains a number of iterations, or if it contains the results of a
parametric sweep?

One final question. Once I get this code put together, is there a way
to add it to the waveform calculator special function list?

Back to top
fogh
Guest





Posted: Tue Dec 07, 2004 9:35 pm    Post subject: Re: How to distinguish family of waves in ocean? Reply with quote

tk_riehle@yahoo.com wrote:
Quote:
I'm just finished writing an ocean analysis procedure in ocean that
takes in a waveform and spits out an integer. I would now like to make
the procedure work seemlessly in the Monte Carlo environment. I believe
I need to add code to distinguish between inputs that contain multiple
simulation results and simple waves. Is there a way in ocean to
determine if a wave object is a family of waves or not?

And if the object is a family, is there a way to determine if it
contains a number of iterations, or if it contains the results of a
parametric sweep?

One final question. Once I get this code put together, is there a way
to add it to the waveform calculator special function list?
Dear tk,


is it a float or and integer ? numberp(x)
is it a waveform ? drIsWaveform(x)
is it a wave family ? famIsFamily(x)
....no ! It's bicycle repair man ! ;)

So you can write your function like this
procedure(yourfunc(x arg1 arg2)
cond(
(drIsWaveform(x) dostuff(x arg1 arg2))
(famIsFamily(x) famMap('yourfunc x arg1 arg2))
(t info("Oooh! it's bicycle repairman !\n") )
)
)

For the last question, you can RTFM with these keywords:
calCreateSpecialFunction() calRegisterSpecialFunction()
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Contact Us
Powered by phpBB