ASL
0.1.7
Advanced Simulation Library
|
Functions | |
SPDistanceFunction | asl::generateDFSphere (double r, const AVec< double > &c) |
generates sphere More... | |
SPDistanceFunction | asl::generateDFCylinderInf (double r, const AVec< double > &l, const AVec< double > &c) |
generates infinite cylinder More... | |
SPDistanceFunction | asl::generateDFCylinder (double r, const AVec< double > &l, const AVec< double > &c) |
generates cylinder More... | |
SPDistanceFunction | asl::generateDFCone (double r, const AVec< double > &l, const AVec< double > &a) |
generates cone More... | |
SPDistanceFunction | asl::generateDFPlane (const AVec< double > &n, const AVec< double > &p0) |
SPDistanceFunction | asl::generateDFConvexPolygonPrism (std::vector< AVec< double >> points) |
generates infinite prism with convex polygon at its base More... | |
SPDistanceFunction | asl::generateDFConvexPolygonPyramid (std::vector< AVec< double >> points, AVec< double > a) |
generates pyramid with convex polygon at its base and apex a More... | |
SPDistanceFunction | asl::generateDFInBlock (const Block &b, unsigned int nG) |
generates map corresponding to external (ghost) part of the block More... | |
SPDistanceFunction | asl::operator& (SPDistanceFunction a, SPDistanceFunction b) |
SPDistanceFunction | asl::operator| (SPDistanceFunction a, SPDistanceFunction b) |
SPDistanceFunction | asl::operator- (SPDistanceFunction a) |
SPDistanceFunction | asl::normalize (SPDistanceFunction a, double dx) |
SPAbstractDataWithGhostNodes | asl::generateDataContainer_SP (const Block &b, SPDistanceFunction df, unsigned int gN, acl::TypeID t) |
SPAbstractDataWithGhostNodes asl::generateDataContainer_SP | ( | const Block & | b, |
SPDistanceFunction | df, | ||
unsigned int | gN, | ||
acl::TypeID | t | ||
) |
SPDistanceFunction asl::generateDFCone | ( | double | r, |
const AVec< double > & | l, | ||
const AVec< double > & | a | ||
) |
generates cone
r | radius |
l | orientation and length, from apex to base |
a | apex |
SPDistanceFunction asl::generateDFConvexPolygonPrism | ( | std::vector< AVec< double >> | points | ) |
generates infinite prism with convex polygon at its base
points | list of points in 3D space. |
The prism axis is oriented orthogonal to the plane of the triangle defined by a center and first two points. Points of the base polygon must be provided in continuous manner.
SPDistanceFunction asl::generateDFConvexPolygonPyramid | ( | std::vector< AVec< double >> | points, |
AVec< double > | a | ||
) |
generates pyramid with convex polygon at its base and apex a
points | list of points in 3D space. |
the pyramid base plane is defined by a center and fist two points the points should be ordered counter clock rotation for an observer placed in a
SPDistanceFunction asl::generateDFCylinder | ( | double | r, |
const AVec< double > & | l, | ||
const AVec< double > & | c | ||
) |
generates cylinder
r | radius |
l | orientation and length |
c | center |
SPDistanceFunction asl::generateDFCylinderInf | ( | double | r, |
const AVec< double > & | l, | ||
const AVec< double > & | c | ||
) |
generates infinite cylinder
r | radius |
l | orientation |
c | center |
SPDistanceFunction asl::generateDFInBlock | ( | const Block & | b, |
unsigned int | nG | ||
) |
generates map corresponding to external (ghost) part of the block
SPDistanceFunction asl::generateDFPlane | ( | const AVec< double > & | n, |
const AVec< double > & | p0 | ||
) |
generates a plane
n | vector orthogonal to the plane |
p0 | point on the plane |
SPDistanceFunction asl::generateDFSphere | ( | double | r, |
const AVec< double > & | c | ||
) |
generates sphere
r | radius |
c | center |
SPDistanceFunction asl::normalize | ( | SPDistanceFunction | a, |
double | dx | ||
) |
SPDistanceFunction asl::operator& | ( | SPDistanceFunction | a, |
SPDistanceFunction | b | ||
) |
If both operands are not initialized - it leads to an error. If only one operand is not initialized - it is ignored and the second is returned.
SPDistanceFunction asl::operator- | ( | SPDistanceFunction | a | ) |
SPDistanceFunction asl::operator| | ( | SPDistanceFunction | a, |
SPDistanceFunction | b | ||
) |
If both operands are not initialized - it leads to an error. If only one operand is not initialized - it is ignored and the second is returned.