62 PetscLogEventRegister(
"LoopTsRHSFunction", 0,
64 PetscLogEventRegister(
"LoopTsRHSJacobian", 0,
214 PetscReal
a, Mat
A, Mat
B,
void *ctx);
215 friend PetscErrorCode
TsMonitorSet(TS ts, PetscInt step, PetscReal
t,
Vec u,
223 Vec U_tt,
Vec F,
void *ctx);
226 Vec U_tt, PetscReal
v, PetscReal
a,
227 Mat
J, Mat P,
void *ctx);
279 Mat
A, Mat
B,
void *ctx);
300 Vec u_t,
Vec F,
void *ctx) {
306 Vec u_t, PetscReal
a, Mat
A,
313 PetscReal
t,
Vec u,
void *ctx) {
372 PetscReal
a, PetscReal aa, Mat
A, Mat
B,
MoFEMTypes
Those types control how functions respond on arguments, f.e. error handling.
double v
phase velocity of light in medium (cm/ns)
const FTensor::Tensor2< T, Dim, Dim > Vec
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
DeprecatedCoreInterface Interface
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.
PetscLogEvent MOFEM_EVENT_TsCtxI2Jacobian
BasicMethodsSequence & getPreProcessRHSJacobian()
Get the preProcess to do RHSJacobian object.
MoFEM::BasicMethodsSequence BasicMethodsSequence
FEMethodsSequence loopsIJacobian
FEMethodsSequence & getLoopsRHSFunction()
Get the loops to do RHSFunction object.
MoFEMTypes bH
If set to MF_EXIST check if element exist.
PetscLogEvent MOFEM_EVENT_TsCtxRHSJacobian
FEMethodsSequence & getLoopsIFunction()
Get the loops to do IFunction 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.
FEMethodsSequence & getLoopsRHSJacobian()
Get the loops to do RHSJacobian object.
PetscLogEvent MOFEM_EVENT_TsCtxMonitor
BasicMethodsSequence postProcessRHSFunction
BasicMethodsSequence preProcessMonitor
FEMethodsSequence & getLoopsMonitor()
Get the loops to do Monitor object.
PetscLogEvent MOFEM_EVENT_TsCtxRHSFunction
BasicMethodsSequence preProcessIJacobian
friend PetscErrorCode TsMonitorSet(TS ts, PetscInt step, PetscReal t, Vec u, void *ctx)
Set monitor for TS solver.
BasicMethodsSequence postProcessIFunction
BasicMethodsSequence & getPostProcessRHSFunction()
Get the postProcess to do RHSFunction object.
BasicMethodsSequence & getPreProcessRHSFunction()
Get the preProcess to do RHSFunction object.
BasicMethodsSequence & getPostProcessIFunction()
Get the postProcess to do IFunction object.
friend PetscErrorCode TsSetRHSJacobian(TS ts, PetscReal t, Vec u, Mat A, Mat B, void *ctx)
TS solver function.
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.
BasicMethodsSequence & getPreProcessIFunction()
Get the preProcess to do IFunction object.
FEMethodsSequence loopsIFunction
BasicMethodsSequence & getPreProcessMonitor()
Get the preProcess to do Monitor object.
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 & getPostProcessIJacobian()
Get the postProcess to do IJacobian object.
PetscLogEvent MOFEM_EVENT_TsCtxIJacobian
BasicMethodsSequence & getPostProcessRHSJacobian()
Get the postProcess to do RHSJacobian object.
boost::movelib::unique_ptr< bool > matAssembleSwitch
MoFEMErrorCode clearLoops()
Clear loops.
TsCtx(MoFEM::Interface &m_field, const std::string &problem_name)
MoFEM::Interface & mField
BasicMethodsSequence & getPostProcessMonitor()
Get the postProcess to do Monitor object.
friend PetscErrorCode TsSetRHSFunction(TS ts, PetscReal t, Vec u, Vec F, void *ctx)
TS solver function.
BasicMethodsSequence preProcessRHSFunction
BasicMethodsSequence postProcessIJacobian
PetscLogEvent MOFEM_EVENT_TsCtxIFunction
BasicMethodsSequence & getPreProcessIJacobian()
Get the preProcess to do IJacobian object.
BasicMethodsSequence postProcessRHSJacobian
FEMethodsSequence & getLoopsIJacobian()
Get the loops to do IJacobian object.
PetscLogEvent MOFEM_EVENT_TsCtxI2Function