49 if (
mag(nf & nr) < 1 - SMALL)
86 if (
sum(
mag(nf & nr)) < Cf.size() - SMALL)
90 forwardT_.resize_nocopy(size());
91 reverseT_.resize_nocopy(size());
99 if (
sum(
mag(forwardT_ - forwardT_[0])) < SMALL)
110 separation_ = (nf&(Cr - Cf))*nf;
112 if (
sum(
mag(separation_)) < SMALL)
116 else if (
sum(
mag(separation_ - separation_[0])) < SMALL)
118 separation_.resize(1);
dimensioned< Type > sum(const DimensionedField< Type, GeoMesh > &f1)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
void resize(const label len)
Adjust allocated size of list.
const vectorField & separation() const
Return the offset (distance) vector from one side of the couple.
tensor rotationTensor(const vector &n1, const vector &n2)
Rotational transformation tensor from vector n1 to n2.
virtual tmp< vectorField > delta() const =0
Return delta (P to N) vectors across coupled patch.
#define forAll(list, i)
Loop across all elements in list.
defineTypeName(manifoldCellsMeshObject)
Info<< nl<< "Wrote faMesh in vtk format: "<< writer.output().name()<< nl;}{ const Field< vector > edgeCentres(faMeshTools::flattenEdgeField(aMesh.edgeCentres(), true))
void clear()
Clear the list, i.e. set size to zero.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
coupledFaPatch is an abstract base class for patches that couple regions of the computational domain ...
Field< vector > vectorField
Specialisation of Field<T> for vector.
A class for managing temporary objects.
void calcTransformTensors(const vector &Cf, const vector &Cr, const vector &nf, const vector &nr) const
Calculate the uniform transformation tensors.