MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / getParticle

Method getParticle

SRC/element/PFEMElement/ParticleGroup.h:51–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 void removeParticles(const VInt& rm);
50 int numParticles() const {return (int)particles.size();}
51 Particle* getParticle(int i) {
52 return (i>=0&&i<numParticles())? particles[i]:0;
53 }
54
55 // dummy mesh
56 int mesh(){return 0;}

Callers 2

addParticlesMethod · 0.80
savePartParticleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected