|
Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
|
#include "vec.h"#include "cpu_slope_limiters.hpp"#include "../definitions.h"#include "../arch/arch_device_api.h"

Go to the source code of this file.
Enumerations | |
| enum | face_estimate_order { h4 , h5 , h6 , h8 } |
Functions | |
| void | compute_h8_left_face_value (const Vec *const values, uint k, Vec &fv_l) |
| void | compute_h7_left_face_derivative (const Vec *const values, uint k, Vec &fd_l) |
| void | compute_h6_left_face_value (const Vec *const values, uint k, Vec &fv_l) |
| void | compute_h5_left_face_derivative (const Vec *const values, uint k, Vec &fd_l) |
| void | compute_h5_face_values (const Vec *const values, uint k, Vec &fv_l, Vec &fv_r) |
| void | compute_h4_left_face_derivative (const Vec *const values, uint k, Vec &fd_l) |
| void | compute_h4_left_face_value (const Vec *const values, uint k, Vec &fv_l) |
| void | compute_h4_left_face_value_nonuniform (const Realf *const h, const Vec *const u, uint k, Vec &fv_l) |
| void | compute_h3_left_face_derivative (const Vec *const values, uint k, Vec &fv_l) |
| void | compute_filtered_face_values_derivatives (const Vec *const values, const uint k, const face_estimate_order order, Vec &fv_l, Vec &fv_r, Vec &fd_l, Vec &fd_r, const Realf threshold) |
| void | compute_filtered_face_values (const Vec *const values, const uint k, const face_estimate_order order, Vec &fv_l, Vec &fv_r, const Realf threshold) |
| void | compute_filtered_face_values_nonuniform (const Realf *const dv, const Vec *const values, const uint k, const face_estimate_order order, Vec &fv_l, Vec &fv_r, const Realf threshold) |
| Vec | get_D2aLim (const Realf *h, const Vec *values, const uint k, const Vec C, const Vec &fv) |
| void | constrain_face_values (const Realf *h, const Vec *values, const uint k, Vec &fv_l, Vec &fv_r) |
| void | compute_filtered_face_values_nonuniform_conserving (const Realf *const dv, const Vec *const values, const uint k, const face_estimate_order order, Vec &fv_l, Vec &fv_r, const Realf threshold) |
| enum face_estimate_order |
| Enumerator | |
|---|---|
| h4 | |
| h5 | |
| h6 | |
| h8 | |
Definition at line 34 of file cpu_face_estimates.hpp.
|
inline |
Definition at line 278 of file cpu_face_estimates.hpp.


|
inline |
Definition at line 215 of file cpu_face_estimates.hpp.


|
inline |
Definition at line 327 of file cpu_face_estimates.hpp.


|
inline |
Definition at line 437 of file cpu_face_estimates.hpp.


|
inline |
Compute left face value based on the explicit h4 estimate.
Right face value can be obtained as left face value of cell i + 1.
| values | Array with volume averages. It is assumed a large enough stencil is defined around i. |
| i | Index of cell in values for which the left face is computed |
| fv_l | Face value on left face of cell i |
Definition at line 204 of file cpu_face_estimates.hpp.

|
inline |
Compute left face derivative based on the explicit h4 estimate.
Right face derivative can be obtained as left face derivative of cell i + 1.
| values | Array with volume averages. It is assumed a large enough stencil is defined around i. |
| i | Index of cell in values for which the left face derivativeis computed |
| fd_l | Face derivative on left face of cell i |
Definition at line 146 of file cpu_face_estimates.hpp.

|
inline |
Compute left face value based on the explicit h4 estimate.
Right face value can be obtained as left face value of cell i + 1.
| values | Array with volume averages. It is assumed a large enough stencil is defined around i. |
| i | Index of cell in values for which the left face is computed |
| fv_l | Face value on left face of cell i |
Definition at line 160 of file cpu_face_estimates.hpp.

|
inline |
Compute left face value based on the explicit h4 estimate for nonuniform grid. Eqn 45 in White et. al. 2008
| u | Array with volume averages. It is assumed a large enough stencil is defined around i. |
| i | Index of cell in values for which the left face is computed |
| fv_l | Face value on left face of cell i |
| h | Array with cell widths. Can be in abritrary units since they always cancel. Maybe 1/refinement ratio? |
Definition at line 179 of file cpu_face_estimates.hpp.

|
inline |
Compute left and right face value based on the explicit h5 estimate.
| values | Array with volume averages. It is assumed a large enough stencil is defined around i. |
| i | Index of cell in values for which the left face is computed |
| fv_l | Face value on left face of cell i |
Definition at line 123 of file cpu_face_estimates.hpp.

|
inline |
Compute left face derivative based on the explicit h5 estimate.
Right face derivative can be obtained as left face derivative of cell i + 1.
| values | Array with volume averages. It is assumed a large enough stencil is defined around i. |
| i | Index of cell in values for which the left face derivativeis computed |
| fd_l | Face derivative on left face of cell i |
Definition at line 109 of file cpu_face_estimates.hpp.

|
inline |
Compute left face value based on the explicit h6 estimate.
Right face value can be obtained as left face value of cell i + 1.
| values | Array with volume averages. It is assumed a large enough stencil is defined around i. |
| i | Index of cell in values for which the left face is computed |
| fv_l | Face value on left face of cell i |
Definition at line 89 of file cpu_face_estimates.hpp.

|
inline |
Compute left face derivative based on the explicit h7 estimate.
Right face derivative can be obtained as left face derivative of cell i + 1.
| values | Array with volume averages. It is assumed a large enough stencil is defined around i. |
| i | Index of cell in values for which the left face derivativeis computed |
| fd_l | Face derivative on left face of cell i |
Definition at line 68 of file cpu_face_estimates.hpp.

|
inline |
Compute left face value based on the explicit h8 estimate.
Right face value can be obtained as left face value of cell i + 1.
| values | Array with volume averages. It is assumed a large enough stencil is defined around i. |
| i | Index of cell in values for which the left face is computed |
| fv_l | Face value on left face of cell i |
Definition at line 45 of file cpu_face_estimates.hpp.

|
inline |
Definition at line 397 of file cpu_face_estimates.hpp.


|
inline |
Definition at line 380 of file cpu_face_estimates.hpp.

