Home
last modified time | relevance | path

Searched refs:monitor_ctx (Results 1 – 2 of 2) sorted by relevance

/honee/src/
H A Dmonitor_totalkineticenergy.c18 static PetscErrorCode MonitorTotalKEDestroy(MonitorTotalKE *monitor_ctx) { in MonitorTotalKEDestroy() argument
19 MonitorTotalKE monitor_ctx_ = *monitor_ctx; in MonitorTotalKEDestroy()
57 MonitorTotalKE monitor_ctx; in SetupMontiorTotalKineticEnergy() local
68 PetscCall(PetscNew(&monitor_ctx)); in SetupMontiorTotalKineticEnergy()
69 PetscCall(HoneeCalculateDomainSize(honee, &monitor_ctx->volume)); in SetupMontiorTotalKineticEnergy()
109 …textCreate(honee->dm, NULL, ceed, op_monitor, NULL, NULL, NULL, NULL, &monitor_ctx->op_monitor_ctx… in SetupMontiorTotalKineticEnergy()
111 …ateLocalVecs(op_monitor, DMReturnVecType(honee->dm), PETSC_COMM_SELF, NULL, &monitor_ctx->values)); in SetupMontiorTotalKineticEnergy()
112 PetscCall(VecSetBlockSize(monitor_ctx->values, num_comp_totalke)); in SetupMontiorTotalKineticEnergy()
113 monitor_ctx->num_comps = num_comp_totalke; in SetupMontiorTotalKineticEnergy()
114 PetscCall(PetscMalloc1(num_comp_totalke, &monitor_ctx->sum_values)); in SetupMontiorTotalKineticEnergy()
[all …]
H A Dmonitor_cfl.c15 static PetscErrorCode MonitorCflCtxDestroy(MonitorCflCtx *monitor_ctx) { in MonitorCflCtxDestroy() argument
16 MonitorCflCtx monitor_ctx_ = *monitor_ctx; in MonitorCflCtxDestroy()
22 *monitor_ctx = NULL; in MonitorCflCtxDestroy()
36 MonitorCflCtx monitor_ctx; in SetupMontiorCfl() local
47 PetscCall(PetscNew(&monitor_ctx)); in SetupMontiorCfl()
116 …textCreate(honee->dm, NULL, ceed, op_monitor, NULL, NULL, NULL, NULL, &monitor_ctx->op_monitor_ctx… in SetupMontiorCfl()
118 …ateLocalVecs(op_monitor, DMReturnVecType(honee->dm), PETSC_COMM_SELF, NULL, &monitor_ctx->values)); in SetupMontiorCfl()
119 PetscCall(VecSetBlockSize(monitor_ctx->values, num_comp_cfl)); in SetupMontiorCfl()
120 monitor_ctx->num_comps = num_comp_cfl; in SetupMontiorCfl()
122 monitor_ctx->tab_level = tab_level + 1; in SetupMontiorCfl()
[all …]