Go to the documentation of this file.
48 if (
mag(nf & nr) < 1 - SMALL)
50 separation_.setSize(0);
60 vector separation = (nf & (Cr - Cf))*nf;
62 if (
mag(separation) > SMALL)
68 separation_.setSize(0);
82 if (
sum(
mag(nf & nr)) < Cf.size() - SMALL)
84 separation_.setSize(0);
86 forwardT_.setSize(size());
87 reverseT_.setSize(size());
95 if (
sum(
mag(forwardT_ - forwardT_[0])) < SMALL)
103 forwardT_.setSize(0);
104 reverseT_.setSize(0);
106 separation_ = (nf&(Cr - Cf))*nf;
108 if (
sum(
mag(separation_)) < SMALL)
110 separation_.setSize(0);
112 else if (
sum(
mag(separation_ - separation_[0])) < SMALL)
114 separation_.setSize(1);
Field< tensor > tensorField
Specialisation of Field<T> for tensor.
#define forAll(list, i)
Loop across all elements in list.
Field< vector > vectorField
Specialisation of Field<T> for vector.
virtual ~coupledFaPatch()
Destructor.
void calcTransformTensors(const vector &Cf, const vector &Cr, const vector &nf, const vector &nr) const
Calculate the uniform transformation tensors.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
dimensioned< Type > sum(const DimensionedField< Type, GeoMesh > &df)
tensor rotationTensor(const vector &n1, const vector &n2)
Rotational transformation tensor from vector n1 to n2.
defineTypeNameAndDebug(combustionModel, 0)