Finite Element Domain Decomposition Library
FEDDLib
Loading...
Searching...
No Matches
FEDD::TimeSteppingTools Class Reference

Public Types

enum  timeSteppingType { NON_ADAPTIVE , ADAPTIVE }
 
enum  errorType { EUCLIDIAN , L2 }
 
typedef default_sc SC
 
typedef default_lo LO
 
typedef default_go GO
 
typedef default_no NO
 
typedef Matrix< SC, LO, GO, NO > Matrix_Type
 
typedef Teuchos::RCP< Matrix_TypeMatrixPtr_Type
 
typedef Matrix_Type::MapConstPtr_Type MapConstPtr_Type
 
typedef BlockMatrix< SC, LO, GO, NO > BlockMatrix_Type
 
typedef Teuchos::RCP< BlockMatrix_TypeBlockMatrixPtr_Type
 
typedef MultiVector< SC, LO, GO, NO > MultiVector_Type
 
typedef Teuchos::RCP< MultiVector_TypeMultiVectorPtr_Type
 
typedef Teuchos::RCP< const MultiVector_TypeMultiVectorConstPtr_Type
 
typedef BlockMultiVector< SC, LO, GO, NO > BlockMultiVector_Type
 
typedef Teuchos::RCP< BlockMultiVector_TypeBlockMultiVectorPtr_Type
 
typedef Teuchos::Array< BlockMultiVectorPtr_Type > BlockMultiVectorPtrArray_Type
 
typedef ExporterTxt ExporterTxt_Type
 
typedef Teuchos::RCP< ExporterTxt_TypeExporterTxtPtr_Type
 
typedef Matrix_Type::CommConstPtr_Type CommConstPtr_Type
 

Public Member Functions

 TimeSteppingTools (ParameterListPtr_Type parameterList, CommConstPtr_Type comm)
 
void setParameter ()
 
void setTableInformationRK ()
 
void setInformationBDF ()
 
double getInformationBDF (int i)
 
void correctPressure (MultiVectorPtr_Type &newP, MultiVectorConstPtr_Type lastP)
 
int getBDFNumber ()
 
double currentTime ()
 
bool continueTimeStepping ()
 
void calculateSolution (BlockMultiVectorPtr_Type &sol, BlockMultiVectorPtrArray_Type &rkSolVec, BlockMatrixPtr_Type massSystem, BlockMultiVectorPtr_Type solShort=Teuchos::null)
 
void adaptiveTimestep (BlockMultiVectorPtr_Type &sol, BlockMultiVectorPtrArray_Type &rkSolVec, BlockMatrixPtr_Type massSystem, BlockMultiVectorPtr_Type solShort)
 
void calculateNewDt (BlockMultiVectorPtr_Type &solDiff, BlockMatrixPtr_Type massSystem)
 
void advanceTime (bool printInfo=false)
 
void printInfo ()
 
int getNmbStages ()
 
double getButcherTableCoefficient (int row, int col)
 
double getButcherTableC (int row)
 
double get_dt ()
 
double get_dt_prev ()
 
void setupTxtExporter ()
 
double get_beta ()
 
double get_gamma ()
 

Public Attributes

CommConstPtr_Type comm_
 
ParameterListPtr_Type parameterList_
 
int butcherTableNmb_
 
int BDFNmb_
 
timeSteppingType tsType_
 
double tEnd_
 
double dt_
 
double t_
 
double dt_prev_
 
double dt_adaptive_
 
double rho_
 
double tolAdaptive_
 
double dtmin_
 
double dtmax_
 
int convOrder_
 
errorType adaptiveError_
 
int adaptiveCalculation_
 
double error_
 
double error_prev_
 
int stages_
 
bool stifflyAcc_
 
bool stifflyAccEmbedded_
 
vec2D_dbl_ptr_Type butcherTable_
 
vec_dbl_ptr_Type BDFInformation_
 
vec_dbl_ptr_Type b_embedded_
 
vec_dbl_ptr_Type gamma_vec_
 
bool verbose_
 
ExporterTxtPtr_Type exporterTxtTime_
 
ExporterTxtPtr_Type exporterTxtDt_
 
ExporterTxtPtr_Type exporterTxtError_
 
int RKType_
 
double beta_
 
double gamma_
 

The documentation for this class was generated from the following files: