PICurv 0.1.0
A Parallel Particle-In-Cell Solver for Curvilinear LES
Loading...
Searching...
No Matches
solvers.h
Go to the documentation of this file.
1#ifndef SOLVERS_H
2#define SOLVERS_H
3
4#include "variables.h" // Provides definitions for UserCtx, SimCtx, IBMNodes, etc.
5#include "implicitsolvers.h"
6#include "rhs.h"
7#include "logging.h"
8/*================================================================================*
9 * HIGH-LEVEL SOLVER ORCHESTRATOR *
10 *================================================================================*/
11
12/**
13 * @brief Orchestrates a single time step of the Eulerian fluid solver.
14 *
15 * This is the refactored, high-level entry point for advancing the fluid state
16 * from time t_n to t_{n+1}. It takes the master SimCtx as its primary argument.
17 *
18 * @param simCtx The master simulation context, containing all solver settings,
19 * multigrid structures, and data vectors.
20 * @return PetscErrorCode 0 on success.
21 */
22PetscErrorCode Flow_Solver(SimCtx *simCtx);
23
24#endif // SOLVERS_H
Logging utilities and macros for PETSc-based applications.
PetscErrorCode Flow_Solver(SimCtx *simCtx)
Orchestrates a single time step of the Eulerian fluid solver.
Definition solvers.c:26
Main header file for a complex fluid dynamics solver.
The master context for the entire simulation.
Definition variables.h:513