• Nicolas CHEVAUGEON's avatar
    [xMapping] adding some virtual member to xMapping. · 661796b4
    Nicolas CHEVAUGEON authored
    xMapping now include xTensor/src/xBoundingBox.
    
    The following virtual member function of xMapping have been added.
    They all have default implementation in terms of the one existing before.
    They mostly simplify code when using them, and do not need to be implemented i
    in derived class (but could for optimization purpose)
    
     virtual xtensor::xPoint eval(const xtensor::xPoint &uvw) const;
     virtual tensor deval(const xtensor::xPoint &uvw) const;
     virtual bool invert(const xtensor::xPoint &xyz, xtensor::xPoint &uvw) const;
     virtual double jacInverse(const xtensor::xPoint &uvw, tensor &invjac) const;
     virtual double detJac(const xtensor::xPoint &uvw) const;
     virtual bool inReferenceElement(const xtensor::xPoint &uvw) const;
     virtual xtensor::xPoint COG() const;
     virtual double pushBack(const xtensor::xPoint &uvw, size_t vsize, vector3d *vec) const;
     virtual double pushBack(const xtensor::xPoint &uvw, std::vector<vector3d> &vec) const;
     virtual double pushBack(const xtensor::xPoint &uvw, size_t vsize, tensor *tens) const;
     virtual xtensor::xBoundingBox boundingBox() const;
    
    interface change in xMapping :
        virtual bool interiorCheck(const xtensor::xPoint &p, double u, double v, double w) const; changed to virtual bool interiorCheck(const xtensor::xPoint &p, xtensor::xPoint &uvw) const;
    
     Modified files :
       xMapping/src/xMapping.cc
       xMapping/src/xMapping.h
    
     and
       xFEM/src/xRegularGrid.cc
       modified to reflect xMapping::interiorCheck interface change
    661796b4
Name
Last commit
Last update
Trellis Loading commit data...
xAnalyticalSolution Loading commit data...
xCrack Loading commit data...
xCut Loading commit data...
xDomainDecomp Loading commit data...
xExport Loading commit data...
xExt Loading commit data...
xFEM Loading commit data...
xFastMarching Loading commit data...
xGeom Loading commit data...
xGraph Loading commit data...
xInterface Loading commit data...
xLinAlg Loading commit data...
xMapping Loading commit data...
xMeshTool Loading commit data...
xOctree Loading commit data...
xPhysics Loading commit data...
xQuadrature Loading commit data...
xTLS Loading commit data...
xTensor Loading commit data...
xTool Loading commit data...
xUtil Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
Ext_dependence.dot Loading commit data...
LICENSE.md Loading commit data...
README.md Loading commit data...
Xfiles_dependence.dot Loading commit data...