Pos_Element.h (getdp-3.4.0-source.tgz) | : | Pos_Element.h (getdp-3.5.0-source.tgz) | ||
---|---|---|---|---|
// GetDP - Copyright (C) 1997-2021 P. Dular and C. Geuzaine, University of Liege | // GetDP - Copyright (C) 1997-2022 P. Dular and C. Geuzaine, University of Liege | |||
// | // | |||
// See the LICENSE.txt file for license information. Please report all | // See the LICENSE.txt file for license information. Please report all | |||
// issues on https://gitlab.onelab.info/getdp/getdp/issues. | // issues on https://gitlab.onelab.info/getdp/getdp/issues. | |||
#ifndef POS_ELEMENT_H | #ifndef POS_ELEMENT_H | |||
#define POS_ELEMENT_H | #define POS_ELEMENT_H | |||
#include "ProData.h" | #include "ProData.h" | |||
#include "ListUtils.h" | #include "ListUtils.h" | |||
/* ------------------------------------------------------------------------ */ | /* ------------------------------------------------------------------------ */ | |||
/* P o s t E l e m e n t */ | /* P o s t E l e m e n t */ | |||
/* ------------------------------------------------------------------------ */ | /* ------------------------------------------------------------------------ */ | |||
struct PostElement { | struct PostElement { | |||
int Index, Type, Depth; | int Index, Type, Depth; | |||
int NbrNodes, * NumNodes; | int NbrNodes, *NumNodes; | |||
double * u, * v, * w, * x, * y, * z; | double *u, *v, *w, *x, *y, *z; | |||
struct Value * Value; | struct Value *Value; | |||
} ; | }; | |||
struct PostElement * Create_PostElement(int Index, int Type, int NbrNodes, int D | struct PostElement *Create_PostElement(int Index, int Type, int NbrNodes, | |||
epth); | int Depth); | |||
void Destroy_PostElement(struct PostElement * PostElement) ; | void Destroy_PostElement(struct PostElement *PostElement); | |||
struct PostElement * NodeCopy_PostElement(struct PostElement *PostElement); | struct PostElement *NodeCopy_PostElement(struct PostElement *PostElement); | |||
struct PostElement * PartialCopy_PostElement(struct PostElement *PostElement); | struct PostElement *PartialCopy_PostElement(struct PostElement *PostElement); | |||
void Fill_PostElement(struct Geo_Element *GE, List_T *PostElement_L, | void Fill_PostElement(struct Geo_Element *GE, List_T *PostElement_L, int Index, | |||
int Index, int Depth, int Skin, | int Depth, int Skin, int DecomposeInSimplex, | |||
int DecomposeInSimplex, int HighOrder, int Gauss) ; | int HighOrder, int Gauss); | |||
void Cut_PostElement(struct PostElement * PE, struct Geo_Element * GE, | void Cut_PostElement(struct PostElement *PE, struct Geo_Element *GE, | |||
List_T * PE_L, int Index, int Depth, int Skin, | List_T *PE_L, int Index, int Depth, int Skin, | |||
int DecomposeInSimplex) ; | int DecomposeInSimplex); | |||
void Sort_PostElement_Connectivity(List_T *PostElement_L); | void Sort_PostElement_Connectivity(List_T *PostElement_L); | |||
int fcmp_PostElement (const void *a, const void *b); | int fcmp_PostElement(const void *a, const void *b); | |||
int fcmp_PostElement_v0(const void *a, const void *b); | int fcmp_PostElement_v0(const void *a, const void *b); | |||
int fcmp_PostElement_absu0(const void *a, const void *b); | int fcmp_PostElement_absu0(const void *a, const void *b); | |||
#endif | #endif | |||
End of changes. 3 change blocks. | ||||
20 lines changed or deleted | 20 lines changed or added |