MCPcopy Create free account
hub / github.com/IBAMR/IBAMR / exact_forcing

Function exact_forcing

tests/spread/spread_02.cpp:64–74  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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
64IBTK::Point
65exact_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
76int
77main(int argc, char** argv)

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected