127 template<
unsigned Size>
175 return result(
triPointRef(p[0], p[1], p[2]).area());
263 return result(
areaOp()(p)*(x[0] + x[1] + x[2])/3);
306 return result(
volumeOp()(p)*(x[0] + x[1] + x[2] + x[3])/4);
315 template<
unsigned Size>
391 template<
class Container>
428 template<
unsigned Size>
431 this->
data().append(p);
440 template<
class AheadOp,
class BehindOp>
448 typedef typename Op::result
type;
464 typedef typename Op::result
type;
472 typedef typename Op::result
type;
484 template<
class AboveOp,
class BelowOp>
489 const AboveOp& aboveOp,
490 const BelowOp& belowOp
494 template<
class AboveOp,
class BelowOp>
499 const AboveOp& aboveOp,
500 const BelowOp& belowOp
504 template<
class AboveOp,
class BelowOp>
509 const AboveOp& aboveOp,
510 const BelowOp& belowOp
514 template<
class AboveOp,
class BelowOp>
519 const AboveOp& aboveOp,
520 const BelowOp& belowOp
result(const FixedList< point, Size > &x)
Construct from a single element.
result operator()(const FixedList< point, 4 > &p) const
Operate on a tetrahedron.
appendOp(const uniformOp< Container &> &op)
Construct from base.
tetrahedron< point, const point & > tetPointRef
A 1D vector of objects of type <T> with a fixed size <Size>.
Trait to determine the result of the addition of two operations.
vector result
Result type.
listOp(const uniformOp< nil > &op)
Construct from base.
outerProduct< Type, vector >::type result
Result type.
Traits class for primitives.
appendOp(Container &x)
Construct from a container reference.
cut::opAddResult< AboveOp, BelowOp >::type tetCut(const FixedList< point, 4 > &tet, const FixedList< scalar, 4 > &level, const AboveOp &aboveOp, const BelowOp &belowOp)
As triCut, but for a tetrahedron.
typeOfRank< typename pTraits< arg1 >::cmptType, direction(pTraits< arg1 >::rank)+direction(pTraits< arg2 >::rank) >::type type
result operator()(const FixedList< point, Size > &p) const
Operate on a triangle or tetrahedron.
Geometric class that creates a 2D plane and can return the intersection point between a line and the ...
cut::opAddResult< AboveOp, BelowOp >::type triCut(const FixedList< point, 3 > &tri, const FixedList< scalar, 3 > &level, const AboveOp &aboveOp, const BelowOp &belowOp)
Cut a triangle along the zero plane defined by the given levels. Templated.
result operator()() const
Operate on nothing.
result operator()() const
Operate on nothing.
scalar result
Result type.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
volumeOp(const uniformOp< nil > &op)
Construct from base.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
noOp(const uniformOp< nil > &op)
Construct from base.
DynamicList< T, SizeInc, SizeMult, SizeDiv > & append(const T &)
Append an element at the end of the list.
result operator()() const
Operate on nothing.
result operator+(const result &x) const
Add together two lists.
result operator()() const
Operate on nothing.
result operator()(const FixedList< point, 3 > &p) const
Operate on a triangle.
areaIntegrateOp(const FixedList< Type, 3 > &x)
Construct from base.
Database for solution data, solver performance and other reduced data.
result operator()(const FixedList< point, Size > &p) const
Operate on a triangle or tetrahedron.
volumeIntegrateOp(const FixedList< Type, 4 > &x)
Construct from base.
result operator()() const
Operate on nothing.
result operator()(const FixedList< point, 4 > &p) const
Operate on a tetrahedron.
result operator()(const FixedList< point, Size > &p) const
Operate on a triangle or tetrahedron.
triangle< point, const point & > triPointRef
result operator()(const FixedList< point, 3 > &p) const
Operate on a triangle.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
dimensioned< scalar > mag(const dimensioned< Type > &)
result operator()() const
Operate on nothing.
areaOp(const uniformOp< nil > &op)
Construct from base.
result operator()() const
Operate on nothing.
static const Vector< scalar > zero
volumeOp()
Construct null.
A zero-sized class without any storage. Used, for example, in HashSet.