/home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/PDETraits.H Source File

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/PDETraits.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
PDETraits.H
Go to the documentation of this file.
1#ifndef PDETRAITS_H
2#define PDETRAITS_H
3
4namespace amr_wind::pde {
5
10{
11 // Linear operator for the diffusion solve
12 // using MLDiffOp = amrex::MLABecLaplacian;
13
14 // Number of components per degree-of-freedom
15 // static constexpr int ndim = AMREX_SPACEDIM;
16
17 // Flag indicating whether this equation will use `(n + 1/2)` state
18 // static constexpr bool need_nph_state = true;
19
20 // Flag indicating if the terms need to be multiplied by density (e.g.,
21 // source term)
22 // static constexpr bool multiply_rho = true;
23
24 // Flag indicating whether the equation has a diffusion term
25 // static constexpr bool has_diffusion = true;
26};
27
35{
36 // AMReX linear operator used to solve the diffusion equation
37 // using MLDiffOp = amrex::MLABecLaplacian;
38 // Base class of the source term used to create specific instances
39 // using SrcTerm = SourceTerm;
40
41 // Number of components for the PDE
42 // static constexpr int ndim = 1;
43
44 // Do the PDE terms have to be multiplied by density
45 // static constexpr bool multiply_rho = true;
46
47 // Does this PDE have a diffusion term
48 // static constexpr bool has_diffusion = true;
49
50 // Default value to initialize the BC array
51 // static constexpr amrex::Real default_bc_value = 0.0;
52
53 // Does this scalar need an NPH state
54 // static constexpr bool need_nph_state = true;
55};
56
57} // namespace amr_wind::pde
58
59#endif /* PDETRAITS_H */
Definition AdvOp_Godunov.H:16
Definition PDETraits.H:35
Definition PDETraits.H:10