From 1df7f825530ca390016508b224accb1c31e7bc82 Mon Sep 17 00:00:00 2001 From: philippun Date: Tue, 6 Jun 2023 10:56:22 +0200 Subject: [PATCH] added print statement for experimental purposes to first_example --- examples/first_example.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/first_example.cpp b/examples/first_example.cpp index 2d07bda..e3c3549 100644 --- a/examples/first_example.cpp +++ b/examples/first_example.cpp @@ -44,6 +44,11 @@ int main(int argc, char *argv[]) { BoundaryCondition bc(n); input_param.setBoundaryCondition(bc); + BoundaryCondition bc2 = input_param.getBoundaryCondition(); + auto [bc_left, bc_right] = bc2.row_boundary(0); + cout << "left: " << unsigned(bc_left.type) << endl; + cout << "right: " << unsigned(bc_right.type) << endl; + ofstream myfile; myfile.open("output.csv"); if (!myfile) {