add Debug to some structs
This commit is contained in:
parent
c8bed50d96
commit
2e013507b2
|
@ -8,6 +8,7 @@ pub const GAMMA: f32 = 1.4;
|
|||
|
||||
// A collection of buffers that allows one to efficiently
|
||||
// move to the next state
|
||||
#[derive(Debug)]
|
||||
pub struct System<SBP: SbpOperator> {
|
||||
sys: (Field, Field),
|
||||
wb: WorkBuffers,
|
||||
|
@ -643,6 +644,7 @@ fn SAT_characteristic(
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct WorkBuffers {
|
||||
k: [Field; 4],
|
||||
tmp: (Field, Field, Field, Field, Field, Field),
|
||||
|
|
|
@ -2,6 +2,7 @@ use super::SbpOperator;
|
|||
use crate::diff_op_1d;
|
||||
use ndarray::{s, ArrayView1, ArrayView2, ArrayViewMut1, ArrayViewMut2};
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct SBP4 {}
|
||||
|
||||
diff_op_1d!(SBP4, diff_1d, SBP4::BLOCK, SBP4::DIAG, false);
|
||||
|
|
|
@ -2,6 +2,7 @@ use super::SbpOperator;
|
|||
use crate::diff_op_1d;
|
||||
use ndarray::{s, ArrayView1, ArrayView2, ArrayViewMut1, ArrayViewMut2};
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct SBP8 {}
|
||||
|
||||
diff_op_1d!(SBP8, diff_1d, SBP8::BLOCK, SBP8::DIAG, false);
|
||||
|
|
|
@ -2,6 +2,7 @@ use super::{SbpOperator, UpwindOperator};
|
|||
use crate::diff_op_1d;
|
||||
use ndarray::{s, ArrayView1, ArrayView2, ArrayViewMut1, ArrayViewMut2, Axis};
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Upwind4 {}
|
||||
|
||||
/// Simdtype used in diff_simd_col
|
||||
|
|
|
@ -2,6 +2,7 @@ use super::{SbpOperator, UpwindOperator};
|
|||
use crate::diff_op_1d;
|
||||
use ndarray::{s, ArrayView1, ArrayView2, ArrayViewMut1, ArrayViewMut2};
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Upwind9 {}
|
||||
|
||||
diff_op_1d!(Upwind9, diff_1d, Upwind9::BLOCK, Upwind9::DIAG, false);
|
||||
|
|
Loading…
Reference in New Issue