"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Kernel/SolvingOperations.h" between
getdp-3.4.0-source.tgz and getdp-3.5.0-source.tgz

About: GetDP is a general finite element solver using mixed elements to discretize de Rham-type complexes in one, two and three dimensions.

SolvingOperations.h  (getdp-3.4.0-source.tgz):SolvingOperations.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 SOLVING_OPERATIONS_H #ifndef SOLVING_OPERATIONS_H
#define SOLVING_OPERATIONS_H #define SOLVING_OPERATIONS_H
#include "ProData.h" #include "ProData.h"
#include "LinAlg.h" #include "LinAlg.h"
void ReGenerate_System(struct DefineSystem *DefineSystem_P, void ReGenerate_System(struct DefineSystem *DefineSystem_P,
struct DofData *DofData_P, struct DofData *DofData_P, struct DofData *DofData_P0,
struct DofData *DofData_P0, int Flag_Jac);
int Flag_Jac);
void Treatment_Operation(struct Resolution *Resolution_P, List_T *Operation_L,
void Treatment_Operation(struct Resolution * Resolution_P, struct DofData *DofData_P0, struct GeoData *GeoData_P0,
List_T * Operation_L, struct Resolution *Resolution2_P,
struct DofData * DofData_P0, struct DofData *DofData2_P0);
struct GeoData * GeoData_P0,
struct Resolution * Resolution2_P, int Operation_IterativeLinearSolver(struct Resolution *Resolution_P,
struct DofData * DofData2_P0); struct Operation *Operation_P,
struct DofData *DofData_P0,
int Operation_IterativeLinearSolver(struct Resolution *Resolution_P, struct GeoData *GeoData_P0);
struct Operation *Operation_P,
struct DofData *DofData_P0, int Operation_BroadcastFields(struct Resolution *Resolution_P,
struct GeoData *GeoData_P0) ; struct Operation *Operation_P,
struct DofData *DofData_P0,
int Operation_BroadcastFields(struct Resolution *Resolution_P, struct GeoData *GeoData_P0);
struct Operation *Operation_P,
struct DofData *DofData_P0, int Operation_BroadcastFieldsGeneric(struct Resolution *Resolution_P,
struct GeoData *GeoData_P0) ; struct Operation *Operation_P,
struct DofData *DofData_P0,
int Operation_BroadcastFieldsGeneric(struct Resolution *Resolution_P, struct GeoData *GeoData_P0);
struct Operation *Operation_P,
struct DofData *DofData_P0, int Operation_BroadcastVariables(struct Resolution *Resolution_P,
struct GeoData *GeoData_P0) ; struct Operation *Operation_P,
struct DofData *DofData_P0,
int Operation_BroadcastVariables(struct Resolution *Resolution_P, struct GeoData *GeoData_P0);
struct Operation *Operation_P,
struct DofData *DofData_P0, int Operation_GatherVariables(struct Resolution *Resolution_P,
struct GeoData *GeoData_P0) ; struct Operation *Operation_P,
struct DofData *DofData_P0,
int Operation_GatherVariables(struct Resolution *Resolution_P, struct GeoData *GeoData_P0);
struct Operation *Operation_P,
struct DofData *DofData_P0, int Operation_ScatterVariables(struct Resolution *Resolution_P,
struct GeoData *GeoData_P0) ; struct Operation *Operation_P,
struct DofData *DofData_P0,
int Operation_ScatterVariables(struct Resolution *Resolution_P, struct GeoData *GeoData_P0);
struct Operation *Operation_P,
struct DofData *DofData_P0, int Operation_CheckVariables(struct Resolution *Resolution_P,
struct GeoData *GeoData_P0) ; struct Operation *Operation_P,
struct DofData *DofData_P0,
int Operation_CheckVariables(struct Resolution *Resolution_P, struct GeoData *GeoData_P0);
struct Operation *Operation_P,
struct DofData *DofData_P0, void Operation_TimeLoopAdaptive(struct Resolution *Resolution_P,
struct GeoData *GeoData_P0) ; struct Operation *Operation_P,
struct DofData *DofData_P0,
void Operation_TimeLoopAdaptive(struct Resolution *Resolution_P, struct GeoData *GeoData_P0, int *Flag_Break);
struct Operation *Operation_P,
struct DofData *DofData_P0, void Operation_IterativeLoopN(struct Resolution *Resolution_P,
struct GeoData *GeoData_P0, struct Operation *Operation_P,
int *Flag_Break) ; struct DofData *DofData_P0,
struct GeoData *GeoData_P0,
void Operation_IterativeLoopN(struct Resolution *Resolution_P, struct Resolution *Resolution2_P,
struct Operation *Operation_P, struct DofData *DofData2_P0, int *Flag_Break);
struct DofData *DofData_P0,
struct GeoData *GeoData_P0, void Operation_IterativeTimeReduction(struct Resolution *Resolution_P,
struct Resolution *Resolution2_P, struct Operation *Operation_P,
struct DofData *DofData2_P0, struct DofData *DofData_P0,
int *Flag_Break) ; struct GeoData *GeoData_P0);
void Operation_IterativeTimeReduction(struct Resolution * Resolution_P, void Operation_Update(struct DefineSystem *DefineSystem_P,
struct Operation * Operation_P, struct DofData *DofData_P, struct DofData *DofData_P0,
struct DofData * DofData_P0,
struct GeoData * GeoData_P0);
void Operation_Update(struct DefineSystem * DefineSystem_P,
struct DofData * DofData_P,
struct DofData * DofData_P0,
int TimeFunctionIndex); int TimeFunctionIndex);
void Operation_ChangeOfCoordinates(struct Resolution * Resolution_P, void Operation_ChangeOfCoordinates(struct Resolution *Resolution_P,
struct Operation * Operation_P, struct Operation *Operation_P,
struct DofData * DofData_P0, struct DofData *DofData_P0,
struct GeoData * GeoData_P0); struct GeoData *GeoData_P0);
void Operation_DeformMesh(struct Resolution * Resolution_P, void Operation_DeformMesh(struct Resolution *Resolution_P,
struct Operation * Operation_P, struct Operation *Operation_P,
struct DofData * DofData_P0, struct DofData *DofData_P0,
struct GeoData * GeoData_P0); struct GeoData *GeoData_P0);
void Operation_PostOperation(struct Resolution *Resolution_P, void Operation_PostOperation(struct Resolution *Resolution_P,
struct DofData *DofData_P0, struct DofData *DofData_P0,
struct GeoData *GeoData_P0, struct GeoData *GeoData_P0,
List_T *PostOperations); List_T *PostOperations);
void Operation_CopyVector(struct Operation *Operation_P, void Operation_CopyVector(struct Operation *Operation_P,
struct DofData *DofData_P); struct DofData *DofData_P);
void Operation_AddVector(struct Operation *Operation_P, void Operation_AddVector(struct Operation *Operation_P,
struct DofData *DofData_P); struct DofData *DofData_P);
void Operation_ClearVectors(struct Operation *Operation_P, void Operation_ClearVectors(struct Operation *Operation_P,
struct DofData *DofData_P); struct DofData *DofData_P);
void Operation_Debug(struct Operation *Operation_P, struct DofData *DofData_P);
void Operation_HPDDMSolve(struct Operation *Operation_P, void InitLEPostOperation(Resolution *Resolution_P, DofData *DofData_P0,
struct DofData *DofData_P); GeoData *GeoData_P0, List_T *PostOp_L,
List_T *LEPostOpNames_L, List_T *PostOpSolPredicted_L);
void Operation_Debug(struct Operation *Operation_P, void ClearLEPostOperation(Resolution *Resolution_P, DofData *DofData_P0,
struct DofData *DofData_P); GeoData *GeoData_P0, List_T *LEPostOp_L,
List_T *LEPostOpNames_L, List_T *PostOpSolPredicted_L,
bool Delete_LEPostOp_L);
void InitLEPostOperation(Resolution *Resolution_P, void Cal_SolutionErrorRatio(gVector *dx, gVector *x, double reltol,
DofData *DofData_P0, double abstol, int NormType, double *ErrorRatio);
GeoData *GeoData_P0,
List_T *PostOp_L,
List_T *LEPostOpNames_L,
List_T *PostOpSolPredicted_L);
void ClearLEPostOperation(Resolution *Resolution_P,
DofData *DofData_P0,
GeoData *GeoData_P0,
List_T *LEPostOp_L,
List_T *LEPostOpNames_L,
List_T *PostOpSolPredicted_L,
bool Delete_LEPostOp_L);
void Cal_SolutionErrorRatio(gVector *dx,
gVector *x,
double reltol,
double abstol,
int NormType,
double *ErrorRatio) ;
void Operation_OptimizerInitialize(struct Operation *Operation_P); void Operation_OptimizerInitialize(struct Operation *Operation_P);
void Operation_OptimizerUpdate(struct Operation *Operation_P); void Operation_OptimizerUpdate(struct Operation *Operation_P);
void Operation_OptimizerFinalize(struct Operation *Operation_P); void Operation_OptimizerFinalize(struct Operation *Operation_P);
void Cal_SolutionError(gVector *dx, gVector *x, int diff, double *MeanError); void Cal_SolutionError(gVector *dx, gVector *x, int diff, double *MeanError);
void Free_UnusedSolutions(struct DofData * DofData_P); void Free_UnusedSolutions(struct DofData *DofData_P);
void Free_UnusedPOresults(); void Free_UnusedPOresults();
void Free_AllPOresults(); void Free_AllPOresults();
#endif #endif
 End of changes. 10 change blocks. 
113 lines changed or deleted 93 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)