125 template<
class Type,
unsigned Size>
173 return result(
triPointRef(p[0], p[1], p[2]).area());
306 return result(
areaOp()(p)*(x[0] + x[1] + x[2])/3);
349 return result(
areaMagOp()(p)*(x[0] + x[1] + x[2])/3);
392 return result(
volumeOp()(p)*(x[0] + x[1] + x[2] + x[3])/4);
401 template<
class Type,
unsigned Size>
477 template<
class Container>
514 template<
class Type,
unsigned Size>
517 this->
data().append(p);
526 template<
class AheadOp,
class BehindOp>
534 typedef typename Op::result
type;
550 typedef typename Op::result
type;
558 typedef typename Op::result
type;
570 template<
class Po
int,
class AboveOp,
class BelowOp>
575 const AboveOp& aboveOp,
576 const BelowOp& belowOp
580 template<
class AboveOp,
class BelowOp>
585 const AboveOp& aboveOp,
586 const BelowOp& belowOp
590 template<
class Po
int,
class AboveOp,
class BelowOp>
595 const AboveOp& aboveOp,
596 const BelowOp& belowOp
600 template<
class AboveOp,
class BelowOp>
605 const AboveOp& aboveOp,
606 const BelowOp& belowOp
areaMagIntegrateOp(const FixedList< Type, 3 > &x)
Construct from base.
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.
result operator()(const FixedList< point, 3 > &p) const
Operate on a triangle.
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.
typeOfRank< typename pTraits< arg1 >::cmptType, direction(pTraits< arg1 >::rank)+direction(pTraits< arg2 >::rank) >::type type
Geometric class that creates a 2D plane and can return the intersection point between a line and the ...
result operator()() const
Operate on nothing.
result operator()(const FixedList< Type, Size > &p) const
Operate on a triangle or tetrahedron.
listOp< point, 3 > listTriOp
result operator()() const
Operate on nothing.
result operator()(const FixedList< Type, Size > &p) const
Operate on a triangle or tetrahedron.
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...
result operator()() const
Operate on nothing.
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.
noOp(const uniformOp< nil > &op)
Construct from base.
result(const FixedList< Type, Size > &x)
Construct from a single element.
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.
scalar result
Result type.
Database for solution and other reduced data.
areaMagOp(const uniformOp< nil > &op)
Construct from base.
listOp< point, 4 > listTetOp
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
Operate on nothing.
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.
result operator()(const FixedList< Type, Size > &p) const
Operate on a triangle or tetrahedron.
areaOp(const uniformOp< nil > &op)
Construct from base.
result operator()() const
Operate on nothing.
static const Vector< scalar > zero
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.
result operator()(const FixedList< point, 3 > &p) const
Operate on a triangle.
volumeOp()
Construct null.
A zero-sized class without any storage. Used, for example, in HashSet.
areaMagOp()
Construct null.