allow selection of operators

This commit is contained in:
Magnus Ulimoen
2020-04-13 00:00:27 +02:00
parent 0f1f115fc3
commit cde8755c15
2 changed files with 54 additions and 15 deletions

View File

@@ -400,7 +400,7 @@ fn pressure(gamma: Float, rho: Float, rhou: Float, rhov: Float, e: Float) -> Flo
}
#[allow(non_snake_case)]
pub(crate) fn RHS_trad<SBP: SbpOperator>(
pub fn RHS_trad<SBP: SbpOperator>(
k: &mut Field,
y: &Field,
metrics: &Metrics<SBP>,