Skip to content

Libs/Mesh/PreviewMeshQC/FENodeElementList.h

Classes

Name
class FENodeElementList

Source code

#pragma once

#include <vector>
using namespace std;

#include "FEMesh.h"

class FENodeElementList
{
public:
    FENodeElementList(FEMesh* pm);
    ~FENodeElementList();

    void Build();

    int Valence(int n) { return m_val[n]; }
    FEElement* Element(int n, int j) { return m_pelem[m_off[n] + j]; }

protected:
    FEMesh* m_pm;

    vector<int> m_val;
    vector<int> m_off;
    vector<FEElement*>  m_pelem;
};

Updated on 2022-07-23 at 17:50:04 -0600