[3683] | 1 | /*!\file: Element.h
|
---|
| 2 | * \brief abstract class for Element object
|
---|
| 3 | * This class is a place holder for the Tria and the Penta elements.
|
---|
| 4 | * It is derived from Element, so DataSets can contain them.
|
---|
| 5 | */
|
---|
| 6 |
|
---|
| 7 |
|
---|
| 8 | #ifndef _ELEMENT_H_
|
---|
| 9 | #define _ELEMENT_H_
|
---|
| 10 |
|
---|
| 11 | /*Headers:*/
|
---|
| 12 | /*{{{1*/
|
---|
| 13 | #include "../Object.h"
|
---|
| 14 |
|
---|
| 15 | class DataSet;
|
---|
| 16 | class Parameters;
|
---|
[4039] | 17 | class Patch;
|
---|
[3683] | 18 |
|
---|
| 19 | #include "../../toolkits/toolkits.h"
|
---|
| 20 | /*}}}*/
|
---|
| 21 |
|
---|
| 22 | class Element: public Object{
|
---|
| 23 |
|
---|
| 24 | public:
|
---|
| 25 |
|
---|
| 26 | virtual ~Element(){};
|
---|
[4034] | 27 | virtual void Configure(DataSet* elements,DataSet* loads,DataSet* nodes,DataSet* materials,Parameters* parameters)=0;
|
---|
[3683] | 28 |
|
---|
| 29 | virtual void CreateKMatrix(Mat Kgg,int analysis_type,int sub_analysis_type)=0;
|
---|
| 30 | virtual void CreatePVector(Vec pg, int analysis_type,int sub_analysis_type)=0;
|
---|
[3821] | 31 | virtual void GetSolutionFromInputs(Vec solution, int analysis_type,int sub_analysis_type)=0;
|
---|
[3683] | 32 | virtual void GetNodes(void** nodes)=0;
|
---|
| 33 | virtual void* GetMatPar()=0;
|
---|
| 34 | virtual bool GetShelf()=0;
|
---|
| 35 | virtual bool GetOnBed()=0;
|
---|
| 36 | virtual void GetThicknessList(double* thickness_list)=0;
|
---|
| 37 | virtual void GetBedList(double* bed_list)=0;
|
---|
| 38 | virtual void Du(Vec du_g,int analysis_type,int sub_analysis_type)=0;
|
---|
[3887] | 39 | virtual void Gradj(Vec grad_g,int analysis_type,int sub_analysis_type,int control_type)=0;
|
---|
[3683] | 40 | virtual void GradjDrag(Vec grad_g,int analysis_type,int sub_analysis_type)=0;
|
---|
| 41 | virtual void GradjB(Vec grad_g,int analysis_type,int sub_analysis_type)=0;
|
---|
| 42 | virtual double Misfit(int analysis_type,int sub_analysis_type)=0;
|
---|
| 43 | virtual double CostFunction(int analysis_type,int sub_analysis_type)=0;
|
---|
| 44 | virtual double SurfaceArea(int analysis_type,int sub_analysis_type)=0;
|
---|
[3869] | 45 | virtual void DepthAverageInputAtBase(int enum_type)=0;
|
---|
[3683] | 46 | virtual void ComputeBasalStress(Vec sigma_b,int analysis_type,int sub_analysis_type)=0;
|
---|
| 47 | virtual void ComputePressure(Vec p_g, int analysis_type,int sub_analysis_type)=0;
|
---|
| 48 | virtual void ComputeStrainRate(Vec eps, int analysis_type,int sub_analysis_type)=0;
|
---|
| 49 | virtual double MassFlux(double* segment,double* ug)=0;
|
---|
[4039] | 50 | virtual void PatchSize(int* pnumrows, int* pnumvertices,int* pnumnodes)=0;
|
---|
| 51 | virtual void PatchFill(int* pcount, Patch* patch)=0;
|
---|
[4025] | 52 | virtual void Update(int index, IoModel* iomodel,int analysis_counter,int analysis_type)=0;
|
---|
[4039] | 53 | virtual void InputToResult(int enum_type,int step,double time)=0;
|
---|
| 54 | virtual void ProcessResultsUnits(void)=0;
|
---|
[3683] | 55 |
|
---|
| 56 | /*Implementation: */
|
---|
| 57 |
|
---|
| 58 | };
|
---|
| 59 | #endif
|
---|