Differentiation of the mesh data structure. More...
#include <deltaBoundary.H>

Public Member Functions | |
| deltaBoundary (const fvMesh &mesh) | |
| Construct from components. | |
| ~deltaBoundary ()=default | |
| Destructor. | |
| vectorField | makeFaceCentresAndAreas_d (const pointField &p, const pointField &p_d) |
| Given a face and the points to be moved in the normal direction, find faceArea, faceCentre and unitVector changes. | |
| tensorField | makeFaceCentresAndAreas_d (const pointField &p, const tensorField &p_d) |
| Given a face and the points to be moved in an arbitrary direction, find faceArea, faceCentre and unitVector changes. | |
| template<class pT> | |
| pT | makeCellCentres_d (const vectorField &fAreas, const vectorField &fCtrs, const Field< pT > &fAreas_d, const Field< pT > &fCtrs_d) |
| Compute cell center variation wrt given face movement or derivative. | |
| tmp< tensorField > | cellCenters_d (const label pointI) |
| Compute the change of the cell centers of the pointCells of pointI, for a unitary movement of pointI in all three directions. | |
Protected Attributes | |
| const fvMesh & | mesh_ |
| Reference to the mesh. | |
Differentiation of the mesh data structure.
Definition at line 54 of file deltaBoundary.H.
| deltaBoundary | ( | const fvMesh & | mesh | ) |
Construct from components.
Definition at line 56 of file deltaBoundary.C.
|
default |
Destructor.
References p.
| vectorField makeFaceCentresAndAreas_d | ( | const pointField & | p, |
| const pointField & | p_d ) |
Given a face and the points to be moved in the normal direction, find faceArea, faceCentre and unitVector changes.
Definition at line 64 of file deltaBoundary.C.
References Foam::endl(), Foam::mag(), n, nPoints, p, pi(), WarningInFunction, and Foam::Zero.
Referenced by cellCenters_d(), NURBS3DVolume::computeControlPointSensitivities(), NURBS3DVolume::computeControlPointSensitivities(), Bezier::dndbBasedSensitivities(), Bezier::dndbBasedSensitivities(), NURBS3DVolume::dndbBasedSensitivities(), Bezier::dxdbFace(), Bezier::dxdbFace(), sensitivitySurfacePoints::finalisePointSensitivities(), and NURBS3DVolume::patchDxDbFace().


| tensorField makeFaceCentresAndAreas_d | ( | const pointField & | p, |
| const tensorField & | p_d ) |
Given a face and the points to be moved in an arbitrary direction, find faceArea, faceCentre and unitVector changes.
Definition at line 171 of file deltaBoundary.C.
References Foam::endl(), Foam::mag(), n, Foam::nl, nPoints, p, pi(), Foam::sqr(), WarningInFunction, and Foam::Zero.

| pT makeCellCentres_d | ( | const vectorField & | fAreas, |
| const vectorField & | fCtrs, | ||
| const Field< pT > & | fAreas_d, | ||
| const Field< pT > & | fCtrs_d ) |
Compute cell center variation wrt given face movement or derivative.
pT (perturbation type) should be a vector in case of known face area and ctr movements or a tensor for gradients
Definition at line 33 of file deltaBoundaryTemplates.C.
References cellVols, forAll, Foam::mag(), UList< T >::size(), and Foam::Zero.
Referenced by cellCenters_d().


| tmp< tensorField > cellCenters_d | ( | const label | pointI | ) |
Compute the change of the cell centers of the pointCells of pointI, for a unitary movement of pointI in all three directions.
Definition at line 278 of file deltaBoundary.C.
References forAll, Tensor< scalar >::I, makeCellCentres_d(), makeFaceCentresAndAreas_d(), mesh_, tmp< T >::New(), face::points(), points, UList< T >::size(), and Foam::Zero.
Referenced by NURBS3DVolume::getDxCellsDb().


|
protected |
Reference to the mesh.
Definition at line 63 of file deltaBoundary.H.
Referenced by cellCenters_d(), and deltaBoundary().