50 PetscLogEventRegister(
"LoopTsRHSFunction", 0,
52 PetscLogEventRegister(
"LoopTsRHSJacobian", 0,
199 friend PetscErrorCode
TsSetIFunction(TS ts, PetscReal
t, Vec u, Vec u_t,
201 friend PetscErrorCode
TsSetIJacobian(TS ts, PetscReal
t, Vec u, Vec U_t,
202 PetscReal
a, Mat
A, Mat
B,
void *ctx);
203 friend PetscErrorCode
TsMonitorSet(TS ts, PetscInt step, PetscReal
t, Vec u,
211 Vec U_tt, Vec F,
void *ctx);
214 Vec U_tt, PetscReal
v, PetscReal
a,
215 Mat
J, Mat P,
void *ctx);
246PetscErrorCode
TsSetIFunction(TS ts, PetscReal
t, Vec u, Vec u_t, Vec F,
266PetscErrorCode
TsSetIJacobian(TS ts, PetscReal
t, Vec u, Vec u_t, PetscReal
a,
267 Mat
A, Mat
B,
void *ctx);
283PetscErrorCode
TsMonitorSet(TS ts, PetscInt step, PetscReal
t, Vec u,
288 Vec u_t, Vec F,
void *ctx) {
294 Vec u_t, PetscReal
a, Mat
A,
301 PetscReal
t, Vec u,
void *ctx) {
360 PetscReal
a, PetscReal aa, Mat
A, Mat
B,
MoFEMTypes
Those types control how functions respond on arguments, f.e. error handling.
const double v
phase velocity of light in medium (cm/ns)
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
implementation of Data Operators for Forces and Sources
PetscErrorCode TsSetIJacobian(TS ts, PetscReal t, Vec u, Vec u_t, PetscReal a, Mat A, Mat B, void *ctx)
Set function evaluating jacobina in TS solver.
PetscErrorCode TsMonitorSet(TS ts, PetscInt step, PetscReal t, Vec u, void *ctx)
Set monitor for TS solver.
PetscErrorCode TsSetI2Function(TS ts, PetscReal t, Vec u, Vec u_t, Vec u_tt, Vec F, void *ctx)
Calculation the right hand side for second order PDE in time.
PetscErrorCode TsSetRHSFunction(TS ts, PetscReal t, Vec u, Vec F, void *ctx)
TS solver function.
PetscErrorCode TsSetIFunction(TS ts, PetscReal t, Vec u, Vec u_t, Vec F, void *ctx)
Set IFunction for TS solver.
std::deque< BasicMethodPtr > BasicMethodsSequence
PetscErrorCode TsSetI2Jacobian(TS ts, PetscReal t, Vec u, Vec u_t, Vec u_tt, PetscReal a, PetscReal aa, Mat A, Mat B, void *ctx)
Calculation Jaconian for second order PDE in time.
std::deque< PairNameFEMethodPtr > FEMethodsSequence
DEPRECATED PetscErrorCode f_TSMonitorSet(TS ts, PetscInt step, PetscReal t, Vec u, void *ctx)
PetscErrorCode TsSetRHSJacobian(TS ts, PetscReal t, Vec u, Mat A, Mat B, void *ctx)
TS solver function.
DEPRECATED PetscErrorCode f_TSSetIFunction(TS ts, PetscReal t, Vec u, Vec u_t, Vec F, void *ctx)
\deprecate Do not use, change to TsSetIFunction
DEPRECATED PetscErrorCode f_TSSetIJacobian(TS ts, PetscReal t, Vec u, Vec u_t, PetscReal a, Mat A, Mat B, void *ctx)
constexpr double t
plate stiffness
Deprecated interface functions.
Interface for Time Stepping (TS) solver.
BasicMethodsSequence & getPostProcessRHSFunction()
Get the postProcess to do RHSFunction object.
PetscLogEvent MOFEM_EVENT_TsCtxI2Jacobian
MoFEM::BasicMethodsSequence BasicMethodsSequence
FEMethodsSequence loopsIJacobian
MoFEMTypes bH
If set to MF_EXIST check if element exist.
PetscLogEvent MOFEM_EVENT_TsCtxRHSJacobian
BasicMethodsSequence & getPostProcessIJacobian()
Get the postProcess to do IJacobian object.
MoFEM::FEMethodsSequence FEMethodsSequence
friend PetscErrorCode TsSetIFunction(TS ts, PetscReal t, Vec u, Vec u_t, Vec F, void *ctx)
Set IFunction for TS solver.
FEMethodsSequence loopsRHSFunction
friend PetscErrorCode TsSetI2Jacobian(TS ts, PetscReal t, Vec U, Vec U_t, Vec U_tt, PetscReal v, PetscReal a, Mat J, Mat P, void *ctx)
Calculation Jaconian for second order PDE in time.
PetscLogEvent MOFEM_EVENT_TsCtxMonitor
BasicMethodsSequence postProcessRHSFunction
FEMethodsSequence & getLoopsMonitor()
Get the loops to do Monitor object.
BasicMethodsSequence & getPreProcessMonitor()
Get the preProcess to do Monitor object.
BasicMethodsSequence preProcessMonitor
BasicMethodsSequence & getPostProcessRHSJacobian()
Get the postProcess to do RHSJacobian object.
PetscLogEvent MOFEM_EVENT_TsCtxRHSFunction
BasicMethodsSequence & getPostProcessIFunction()
Get the postProcess to do IFunction object.
BasicMethodsSequence preProcessIJacobian
friend PetscErrorCode TsMonitorSet(TS ts, PetscInt step, PetscReal t, Vec u, void *ctx)
Set monitor for TS solver.
BasicMethodsSequence & getPreProcessRHSFunction()
Get the preProcess to do RHSFunction object.
BasicMethodsSequence postProcessIFunction
friend PetscErrorCode TsSetRHSJacobian(TS ts, PetscReal t, Vec u, Mat A, Mat B, void *ctx)
TS solver function.
FEMethodsSequence & getLoopsIFunction()
Get the loops to do IFunction object.
FEMethodsSequence & getLoopsRHSJacobian()
Get the loops to do RHSJacobian object.
friend PetscErrorCode TsSetIJacobian(TS ts, PetscReal t, Vec u, Vec U_t, PetscReal a, Mat A, Mat B, void *ctx)
Set function evaluating jacobina in TS solver.
FEMethodsSequence loopsIFunction
FEMethodsSequence loopsRHSJacobian
BasicMethodsSequence preProcessIFunction
FEMethodsSequence loopsMonitor
MoFEM::PairNameFEMethodPtr PairNameFEMethodPtr
friend PetscErrorCode TsSetI2Function(TS ts, PetscReal t, Vec U, Vec U_t, Vec U_tt, Vec F, void *ctx)
Calculation the right hand side for second order PDE in time.
BasicMethodsSequence postProcessMonitor
BasicMethodsSequence preProcessRHSJacobian
boost::movelib::unique_ptr< bool > vecAssembleSwitch
BasicMethodsSequence & getPreProcessIFunction()
Get the preProcess to do IFunction object.
PetscLogEvent MOFEM_EVENT_TsCtxIJacobian
FEMethodsSequence & getLoopsRHSFunction()
Get the loops to do RHSFunction object.
FEMethodsSequence & getLoopsIJacobian()
Get the loops to do IJacobian object.
boost::movelib::unique_ptr< bool > matAssembleSwitch
MoFEMErrorCode clearLoops()
Clear loops.
BasicMethodsSequence & getPreProcessRHSJacobian()
Get the preProcess to do RHSJacobian object.
TsCtx(MoFEM::Interface &m_field, const std::string &problem_name)
MoFEM::Interface & mField
friend PetscErrorCode TsSetRHSFunction(TS ts, PetscReal t, Vec u, Vec F, void *ctx)
TS solver function.
BasicMethodsSequence preProcessRHSFunction
BasicMethodsSequence postProcessIJacobian
BasicMethodsSequence & getPostProcessMonitor()
Get the postProcess to do Monitor object.
PetscLogEvent MOFEM_EVENT_TsCtxIFunction
BasicMethodsSequence & getPreProcessIJacobian()
Get the preProcess to do IJacobian object.
BasicMethodsSequence postProcessRHSJacobian
PetscLogEvent MOFEM_EVENT_TsCtxI2Function