Cal_Quantity.h (getdp-3.4.0-source.tgz) | : | Cal_Quantity.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 CAL_QUANTITY_H | #ifndef CAL_QUANTITY_H | |||
#define CAL_QUANTITY_H | #define CAL_QUANTITY_H | |||
#include "ProData.h" | #include "ProData.h" | |||
#include "ListUtils.h" | #include "ListUtils.h" | |||
void Get_ValueOfExpression(struct Expression *Expression_P, | void Get_ValueOfExpression(struct Expression *Expression_P, | |||
struct QuantityStorage *QuantityStorage_P0, | struct QuantityStorage *QuantityStorage_P0, double u, | |||
double u, double v, double w, | double v, double w, struct Value *Value, | |||
struct Value *Value, | int NbrArguments = 0, | |||
int NbrArguments=0, | char *CallingExpressionName = NULL); | |||
char *CallingExpressionName=NULL); | ||||
void Get_ValueOfExpressionByIndex(int Index_Expression, | ||||
void Get_ValueOfExpressionByIndex(int Index_Expression, | struct QuantityStorage *QuantityStorage_P0, | |||
struct QuantityStorage *QuantityStorage_P0, | double u, double v, double w, | |||
double u, double v, double w, | struct Value *Value); | |||
struct Value *Value); | ||||
void Cal_WholeQuantity(struct Element *Element, | ||||
void Cal_WholeQuantity(struct Element *Element, | struct QuantityStorage *QuantityStorage_P0, | |||
struct QuantityStorage *QuantityStorage_P0, | List_T *WholeQuantity_L, double u, double v, double w, | |||
List_T *WholeQuantity_L, | int Index_Dof, int Nbr_Dof, struct Value DofValue[], | |||
double u, double v, double w, | int NbrArguments = 0, char *ExpressionName = NULL); | |||
int Index_Dof, int Nbr_Dof, struct Value DofValue[], | ||||
int NbrArguments=0, char *ExpressionName=NULL); | ||||
void Cal_StoreInRegister(struct Value *Value, int RegisterIndex); | void Cal_StoreInRegister(struct Value *Value, int RegisterIndex); | |||
void Cal_StoreInVariable(struct Value *Value, const char *name); | void Cal_StoreInVariable(struct Value *Value, const char *name); | |||
void Cal_GetValueSaved(struct Value *Value, const char *name); | void Cal_GetValueSaved(struct Value *Value, const char *name); | |||
std::map<std::string, struct Value> &Get_AllValueSaved(); | std::map<std::string, struct Value> &Get_AllValueSaved(); | |||
bool Is_ExpressionConstant(struct Expression *Expression_P); | bool Is_ExpressionConstant(struct Expression *Expression_P); | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
19 lines changed or deleted | 17 lines changed or added |