/dports/math/py-yt/yt-4.0.1/yt/utilities/tests/ |
H A D | test_particle_generator.py | 40 particles_per_grid1 = [grid.NumberOfParticles for grid in ds.index.grids] 41 assert_equal(particles_per_grid1, particles1.NumberOfParticles) 45 assert_equal(particles_per_grid1, particles1.NumberOfParticles) 84 particles_per_grid2 = [grid.NumberOfParticles for grid in ds.index.grids] 86 particles_per_grid2, particles1.NumberOfParticles + particles2.NumberOfParticles 94 particles_per_grid2, particles1.NumberOfParticles + particles2.NumberOfParticles 116 particles_per_grid3 = [grid.NumberOfParticles for grid in ds.index.grids] 118 particles_per_grid3, particles1.NumberOfParticles + particles2.NumberOfParticles 124 particles_per_grid3, particles1.NumberOfParticles + particles2.NumberOfParticles
|
/dports/science/dynare/dynare-4.6.4/matlab/particles/src/ |
H A D | SMC_samplers_initialization.m | 1 function [ ix2, temperedlogpost, loglik, npar, NumberOfParticles, bayestopt_] = ... 3 … ilogpo2, ModelName, MetropolisFolder, FirstBlock, FirstLine, npar, NumberOfParticles, bayestopt_]… 19 % o NumberOfParticles scalar 22 % o ix2 [double] (NumberOfParticles*npar) vector of starting points for diff… 23 % o ilogpo2 [double] (NumberOfParticles*1) vector of initial posterior values fo… 28 % o NumberOfParticles [scalar] Number of particles requested for the parameters distributi… 91 % Find initial values for the NumberOfParticles chains... 95 ix2 = zeros(npar,NumberOfParticles); 96 temperedlogpost = zeros(NumberOfParticles,1); 97 loglik = zeros(NumberOfParticles,1); [all …]
|
H A D | DSMH_initialization.m | 1 function [ ix2, temperedlogpost, loglik, ModelName, MetropolisFolder, npar, NumberOfParticles, baye… 3 … ilogpo2, ModelName, MetropolisFolder, FirstBlock, FirstLine, npar, NumberOfParticles, bayestopt_]… 21 % o ix2 [double] (NumberOfParticles*npar) vector of starting points for diff… 27 % o NumberOfParticles [scalar] Number of particles requested for the parameters distributi… 57 NumberOfParticles = []; variable 67 NumberOfParticles = options_.dsmh.number_of_particles; %Number of particles for the parameters variable 92 % Find initial values for the NumberOfParticles chains... 96 ix2 = zeros(npar,NumberOfParticles); 97 temperedlogpost = zeros(NumberOfParticles,1); 98 loglik = zeros(NumberOfParticles,1); [all …]
|
/dports/math/vtk8/VTK-8.2.0/IO/AMR/ |
H A D | vtkAMRFlashParticlesReader.cxx | 158 if( this->NumberOfBlocks == 0 && this->Internal->NumberOfParticles > 0) in ReadMetaData() 170 return( this->Internal->NumberOfParticles ); in GetTotalNumberOfParticles() 187 positions->SetNumberOfPoints( this->Internal->NumberOfParticles ); in GetParticles() 198 this->Internal, this->Internal->NumberOfParticles ); in GetParticles() 253 double *data = new double[ this->Internal->NumberOfParticles ]; in GetParticles() 287 int *data = new int[ this->Internal->NumberOfParticles ]; in GetParticles() 324 int NumberOfParticles = this->Internal->NumberOfParticles; in ReadParticles() local 325 if( NumberOfParticles <= 0 ) in ReadParticles()
|
H A D | vtkAMREnzoReaderInternal.cxx | 58 this->NumberOfParticles = 0; in Init() 104 this->NumberOfParticles = other->NumberOfParticles; in DeepCopy() 806 stream >> tmpBlk.NumberOfParticles; in ReadBlockStructures() 808 if ( tmpBlk.NumberOfParticles > 0 ) in ReadBlockStructures() 958 if ( wasFound && ( tmpBlock.NumberOfParticles <= 0 ) ) in GetAttributeNames() 968 ( !wasFound && tmpBlock.NumberOfParticles > 0 ) in GetAttributeNames() 972 ( tmpBlock.NumberOfParticles > 0 ) in GetAttributeNames() 977 wasFound = ( tmpBlock.NumberOfParticles > 0 ) ? 1 : 0; in GetAttributeNames()
|
H A D | vtkAMRFlashReaderInternal.cxx | 188 this->NumberOfParticles = 0; in Init() 278 if ( this->NumberOfParticles == 0 && this->NumberOfBlocks == 0 ) in ReadMetaData() 1331 hsize_t thisSize = this->NumberOfParticles; in ReadParticlesComponent() 1336 hsize_t numReads[2] = {static_cast<hsize_t>(this->NumberOfParticles),1}; in ReadParticlesComponent() 1370 this->NumberOfParticles = 0; in ReadParticleAttributes() 1384 this->NumberOfParticles = p_dims[0]; in ReadParticleAttributes() 1475 this->NumberOfParticles = 0; in ReadParticleAttributesFLASH3() 1582 this->NumberOfParticles = 0; in ReadParticleAttributesFLASH3() 1596 this->NumberOfParticles = p_dims[0]; in ReadParticleAttributesFLASH3()
|
H A D | vtkAMREnzoReaderInternal.h | 83 int NumberOfParticles; variable
|
H A D | vtkAMREnzoParticlesReader.cxx | 402 numParticles += this->Internal->Blocks[ blockIdx ].NumberOfParticles; in GetTotalNumberOfParticles() 412 int NumParticles = this->Internal->Blocks[ iBlockIdx ].NumberOfParticles; in ReadParticles()
|
/dports/math/vtk9/VTK-9.1.0/IO/AMR/ |
H A D | vtkAMRFlashParticlesReader.cxx | 153 if (this->NumberOfBlocks == 0 && this->Internal->NumberOfParticles > 0) in ReadMetaData() 165 return (this->Internal->NumberOfParticles); in GetTotalNumberOfParticles() 182 positions->SetNumberOfPoints(this->Internal->NumberOfParticles); in GetParticles() 192 dataIdx, xcoords, ycoords, zcoords, this->Internal, this->Internal->NumberOfParticles); in GetParticles() 249 std::vector<double> data(this->Internal->NumberOfParticles); in GetParticles() 281 std::vector<int> data(this->Internal->NumberOfParticles); in GetParticles() 316 int NumberOfParticles = this->Internal->NumberOfParticles; in ReadParticles() local 317 if (NumberOfParticles <= 0) in ReadParticles()
|
H A D | vtkAMREnzoReaderInternal.cxx | 59 this->NumberOfParticles = 0; in Init() 87 this->NumberOfParticles = other->NumberOfParticles; in DeepCopy() 736 stream >> tmpBlk.NumberOfParticles; in ReadBlockStructures() 738 if (tmpBlk.NumberOfParticles > 0) in ReadBlockStructures() 887 if (wasFound && (tmpBlock.NumberOfParticles <= 0)) in GetAttributeNames() 895 if ((tempNumb < numCells) || (!wasFound && tmpBlock.NumberOfParticles > 0)) in GetAttributeNames() 897 if (!wasFound || (tmpBlock.NumberOfParticles > 0)) in GetAttributeNames() 901 wasFound = (tmpBlock.NumberOfParticles > 0) ? 1 : 0; in GetAttributeNames()
|
H A D | vtkAMRFlashReaderInternal.cxx | 168 this->NumberOfParticles = 0; in Init() 257 if (this->NumberOfParticles == 0 && this->NumberOfBlocks == 0) in ReadMetaData() 1216 hsize_t thisSize = this->NumberOfParticles; in ReadParticlesComponent() 1221 hsize_t numReads[2] = { static_cast<hsize_t>(this->NumberOfParticles), 1 }; in ReadParticlesComponent() 1253 this->NumberOfParticles = 0; in ReadParticleAttributes() 1267 this->NumberOfParticles = p_dims[0]; in ReadParticleAttributes() 1353 this->NumberOfParticles = 0; in ReadParticleAttributesFLASH3() 1454 this->NumberOfParticles = 0; in ReadParticleAttributesFLASH3() 1467 this->NumberOfParticles = p_dims[0]; in ReadParticleAttributesFLASH3()
|
H A D | vtkAMREnzoReaderInternal.h | 82 int NumberOfParticles; variable
|
/dports/math/vtk6/VTK-6.2.0/IO/AMR/ |
H A D | vtkAMRFlashParticlesReader.cxx | 158 if( this->NumberOfBlocks == 0 && this->Internal->NumberOfParticles > 0) in ReadMetaData() 170 return( this->Internal->NumberOfParticles ); in GetTotalNumberOfParticles() 187 positions->SetNumberOfPoints( this->Internal->NumberOfParticles ); in GetParticles() 198 this->Internal, this->Internal->NumberOfParticles ); in GetParticles() 253 double *data = new double[ this->Internal->NumberOfParticles ]; in GetParticles() 287 int *data = new int[ this->Internal->NumberOfParticles ]; in GetParticles() 324 int NumberOfParticles = this->Internal->NumberOfParticles; in ReadParticles() local 325 if( NumberOfParticles <= 0 ) in ReadParticles()
|
H A D | vtkAMREnzoReaderInternal.cxx | 58 this->NumberOfParticles = 0; in Init() 104 this->NumberOfParticles = other->NumberOfParticles; in DeepCopy() 814 stream >> tmpBlk.NumberOfParticles; in ReadBlockStructures() 816 if ( tmpBlk.NumberOfParticles > 0 ) in ReadBlockStructures() 970 if ( wasFound && ( tmpBlock.NumberOfParticles <= 0 ) ) in GetAttributeNames() 980 ( !wasFound && tmpBlock.NumberOfParticles > 0 ) in GetAttributeNames() 984 ( wasFound && tmpBlock.NumberOfParticles > 0 ) in GetAttributeNames() 989 wasFound = ( tmpBlock.NumberOfParticles > 0 ) ? 1 : 0; in GetAttributeNames()
|
H A D | vtkAMRFlashReaderInternal.cxx | 188 this->NumberOfParticles = 0; in Init() 278 if ( this->NumberOfParticles == 0 && this->NumberOfBlocks == 0 ) in ReadMetaData() 1339 hsize_t thisSize = this->NumberOfParticles; in ReadParticlesComponent() 1344 hsize_t numReads[2] = {static_cast<hsize_t>(this->NumberOfParticles),1}; in ReadParticlesComponent() 1378 this->NumberOfParticles = 0; in ReadParticleAttributes() 1392 this->NumberOfParticles = p_dims[0]; in ReadParticleAttributes() 1484 this->NumberOfParticles = 0; in ReadParticleAttributesFLASH3() 1591 this->NumberOfParticles = 0; in ReadParticleAttributesFLASH3() 1605 this->NumberOfParticles = p_dims[0]; in ReadParticleAttributesFLASH3()
|
H A D | vtkAMREnzoReaderInternal.h | 80 int NumberOfParticles; variable
|
/dports/math/py-yt/yt-4.0.1/yt/frontends/stream/tests/ |
H A D | test_stream_particles.py | 42 number_of_particles1 = np.sum([grid.NumberOfParticles for grid in ug1.index.grids]) 43 number_of_particles2 = np.sum([grid.NumberOfParticles for grid in ug2.index.grids]) 51 assert tot_parts == grid.NumberOfParticles 52 assert tot_all_parts == grid.NumberOfParticles 123 number_of_particles3 = np.sum([grid.NumberOfParticles for grid in ug3.index.grids]) 124 number_of_particles4 = np.sum([grid.NumberOfParticles for grid in ug4.index.grids]) 133 assert tot_parts == grid.NumberOfParticles 134 assert tot_all_parts == grid.NumberOfParticles
|
/dports/math/py-yt/yt-4.0.1/yt/utilities/ |
H A D | particle_generator.py | 44 self.NumberOfParticles = np.zeros(self.num_grids, dtype="int64") 120 self.NumberOfParticles = np.bincount( 125 self.NumberOfParticles.squeeze(), out=self.ParticleGridIndices[1:] 128 self.ParticleGridIndices[1] = self.NumberOfParticles.squeeze() 161 if self.NumberOfParticles[i] > 0: 176 np.int64(self.NumberOfParticles[i]), 193 number_of_particles = self.NumberOfParticles[i] 195 number_of_particles += g.NumberOfParticles 200 g.NumberOfParticles > 0
|
/dports/science/elmerfem/elmerfem-release-9.0/fem/src/ |
H A D | ParticleUtils.F90 | 762 Particles % NumberOfParticles = n 878 Particles % NumberOfParticles = n2 1042 Particles % NumberOfParticles = 0 1173 DO i=1,Particles % NumberOfParticles 1268 DO i=1,Particles % NumberOfParticles 1608 Particles % NumberOfParticles = Particles % NumberOfParticles + COUNT(.NOT.Failed) 1712 DO i=1,Particles % NumberOfParticles 1730 DO i=1,Particles % NumberOfParticles 4898 DO i=1,Particles % NumberOfParticles 5042 Particles % NumberOfParticles = Particles % NumberOfParticles+n [all …]
|
/dports/science/elmerfem/elmerfem-release-9.0/fem/src/modules/ |
H A D | SaveGridData.F90 | 202 Particles % NumberOfParticles = NoParticles 235 n = Particles % NumberOfParticles 244 Particles % NumberOfParticles = n 548 GridIndex(i-ioff,j-joff,k-koff) = Particles % NumberOfParticles 568 totcount(3) = Particles % NumberOfParticles
|
H A D | ParticleAdvector.F90 | 167 ParticleStepsTaken = ParticleStepsTaken + Particles % NumberOfParticles 457 DO No = 1, Particles % NumberOfParticles 529 PRINT *,'Total number of particles:',Particles % NumberOfParticles 580 NoParticles = Particles % NumberOfParticles 926 ALLOCATE( NewValues( maxdim * Particles % NumberOfParticles ) )
|
/dports/math/py-yt/yt-4.0.1/yt/fields/ |
H A D | field_detector.py | 29 NumberOfParticles = 1 variable in FieldDetector 160 np.ones((self.NumberOfParticles, cols)), 167 np.ones(self.NumberOfParticles), 216 return np.ones(self.NumberOfParticles)
|
/dports/science/InsightToolkit/ITK-5.0.1/.ExternalData/MD5/ |
H A D | cfa96d0f89a8c36707a921103d140f4c | 1 <optimizer type="ParticleSwarmOptimizer" NumberOfParticles="25" SamplingSeed="" InertiaCoefficient=…
|
/dports/math/py-yt/yt-4.0.1/yt/frontends/enzo/ |
H A D | io.py | 77 if g.NumberOfParticles == 0 and nap == 0: 82 if g.NumberOfParticles == 0: 269 if g.NumberOfParticles == 0 and nap == 0: 286 if g.NumberOfParticles == 0 and nap == 0:
|
/dports/math/py-yt/yt-4.0.1/yt/utilities/parallel_tools/ |
H A D | io_runner.py | 70 if fi.sampling_type == "particle" and g.NumberOfParticles == 0: 119 data = np.empty(grid.NumberOfParticles, "float64")
|