Displaying 7 results from an estimated 7 matches for "tsteps".
Did you mean:
steps
2011 Sep 07
1
Error: in routine alloca() there is a stack overflow: thread 0, max 535822282KB, used 0KB, request 24B
Dear Colleagues:
Through your help an R related installation issue was resolved, but I now
have the following usage issue.
On any "get.var.ncdf" usage I am seeing:
Error: in routine alloca() there is a stack overflow: thread 0, max
535822282KB, used 0KB, request 24B
The same error is posted on a file as small as 50MB and as large as 500GB,
with ulimit set to unlimited. I
2006 Sep 22
4
Creating Movies with R
...ma_pos)*exp(-1/2*(x-expect_position)^2/sigma_pos)
}
#### Now the physical parameters
tau<-0.1
beta<-1/tau
St<-tau ### since I am in dimensionless units and tau is already in
units of 1/|alpha|
D=2e-2
q<-2*beta^2*D
############### Now the grid in space and time
time<-5 # time extent
tsteps<-501 # time steps
newtime<-seq(0,time,len=tsteps)
#### Now the things specific for the dynamics along x
lam1<- -beta/2*(1+sqrt(1+4*St))
lam2<- -beta/2*(1-sqrt(1+4*St))
xmin<- -0.5
xmax<-0.5
x0<-0.1
vx0<-x0
nx<-101 ## grid intervals along x
newx<-seq(xmin,xmax,len=nx) #...
2010 Apr 26
1
finite difference scheme for 2D differential equations
Hello everyone,
I am trying to solve 2D differential equations using finite difference
scheme in R. I have been able to work with the equations with only one
spatial dimensions but I want to extend it to the two dimensional problem.
For example i can simulate one dimensional diffusion using a code like the
following. But I want to write a similar code for,say, a two dimensional
diffusion
2011 Oct 31
2
3 Overlayed simple plots
Dear all,
I am plotting 3 plots into the same x and y axis.
I want the first one to be painted red with a continuous line
The second one green with a continuous line
and the third one blue with a continuous line
plot(max_power(data),ylim=c(-120,-20))
par(new=T)
plot(min_power(data),ylim=c(-120,-20))
par(new=T)
plot(mean_power(data),ylim=c(-120,-20))
par(new=F)
Is it also a
2018 May 29
1
Difficulty in writing R code for one pool dynamic model
Hi everyone,
I was trying to mode the following exercise using R.
The question: Set up a one pool model using numericintegration. The model will run from time 1 to time 30 using a time step of 1.The pool (A) will be fed by flux "inA" at a rate of 5 units per hour anddrained by flux "outA" at a rate of 20% per hour. At time 0, A has 5units. At time 30, what is the pool size of
2008 Jul 09
0
"Rotated Lat-Lon" projection in mapproj
Hi,
I'm trying to plot a field obtained from the atmospheric model WRF-NMM
which uses a "Rotated Lat-Lon? map projection.
The WRF documentation mentions that:
? Rotates the earth's lat/lon grid such that the intersection of the
equator and prime meridian is at the center of the model domain.
? Within the rotated framework the grid spacing is constant, but in an
earth-relative
2016 Oct 12
4
[test-suite] making polybench/symm succeed with "-Ofast" and "-ffp-contract=on"
On Wed, Oct 12, 2016 at 10:53 AM, Hal Finkel <hfinkel at anl.gov> wrote:
> I don't think that Clang/LLVM uses it by default on x86_64. If you're using -Ofast, however, that would explain it. I recommend looking at -O3 vs -O0 and make sure those are the same. -Ofast enables -ffast-math, which can legitimately cause differences.
>
The following tests pass at "-O3" and