public abstract class CanonicalSampler
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CanonicalSampler.CanonicalHexSampler
Samples uniformly from within basic hex
|
static class |
CanonicalSampler.CanonicalPyramidSampler
Samples uniformly from within basic pyramid
|
static class |
CanonicalSampler.CanonicalTetSampler
Samples uniformly from within the basic Tet
|
static class |
CanonicalSampler.CanonicalWedgeSampler
Samples uniformly from within basic wedge
|
Constructor and Description |
---|
CanonicalSampler() |
Modifier and Type | Method and Description |
---|---|
static CanonicalSampler |
get(FemElement3d elem)
Gets the appropriate sampler for a given FEM
|
abstract void |
sample(Point3d pnt)
Spatial position within canonical element
|
void |
sampleCoord(Point3d coord)
Natural coordinate within canonical element
|
abstract double |
volume()
Volume of canonical element
|
public abstract void sample(Point3d pnt)
pnt
- output sample pointpublic void sampleCoord(Point3d coord)
coord
- sample canonical coordinatepublic abstract double volume()
public static CanonicalSampler get(FemElement3d elem)