Like spread_02, but explicitly check the values spread from a constant field when the structure lives on multiple levels. This shows that the correct value is spread away from
| 62 | // Like spread_02, but explicitly check the values spread from a constant field |
| 63 | // when the structure lives on multiple levels. This shows that the correct value is spread away from |
| 64 | IBTK::Point |
| 65 | exact_forcing(const IBTK::Point&) |
| 66 | { |
| 67 | IBTK::Point result; |
| 68 | result[0] = 1.0; |
| 69 | result[1] = 1.0; |
| 70 | #if NDIM == 3 |
| 71 | result[2] = 1.0; |
| 72 | #endif |
| 73 | return result; |
| 74 | } |
| 75 | |
| 76 | int |
| 77 | main(int argc, char** argv) |