Table of Contents

Commit - LPx - 24 Mai 2019

Initialisation elements FieldApplicator

FieldApplicator

FieldApplicator.cpp ligne 56 - 68

    for(int i=0; i<size(); ++i)
    {
        GObject &phy = (*this)[i];

        if(generateElementFromVolumes(phy, nbNods, degree, type)) continue;   // elements 3D
        if(generateElementFromSides(phy, nbNods, degree, type))   continue;   // elements 2D
        if(generateElementFromCurves(phy, nbNods, degree, type))  continue;   // elements 1D
        //if(generateElementFromPoints(phy, nbNods, degree, type))  continue;   // elements 0D

        // !! si on passait dans n'importe sens, des elems a 8 noeuds lies aux facettes
        // internes 3D seraient crees vu que celles ci ont pour father un volume.
    }
 
    getNbOfNodesAndDegreeFromElementType(nbNods, degree, cellDimension, type);
    for(int i=0; i<size(); ++i)
    {
        GObject &phy = (*this)[i];
        if (cellDimension == 3) generateElementFromVolumes(phy, nbNods, degree, type);   // elements 3D
        else if  (cellDimension == 2) generateElementFromSides(phy, nbNods, degree, type);   // elements 2D
        else if  (cellDimension == 1) generateElementFromCurves(phy, nbNods, degree, type);   // elements 1D
        //else if  (cellDimension == 0) generateElementFromPoints(phy, nbNods, degree, type);   // elements 0D        
    }

Fichiers ajoutés/supprimés :

Added : 
Deleted : 
Moved : 

Tests ajoutés/supprimés

Adding: 
Deleted : 
Moved : 

Luc Papeleux 2019/05/23