|
Rheolef
7.1
an efficient C++ finite element environment
|
test test-function in variational formulation
This class, and its associated trial one, is used for test and trial functions involved in variational formulations. Variational formulations are specified by expressions of the C++ language.
A test function is the formal argument involved in the expression for the integrate function:
geo omega ("circle");
space Xh (omega, "P1");
test v (Xh);
field lh = integrate (omega, 2*v);
For a bilinear form, the test function represents its second formal argument, while its first one is referred to as the trial one:
trial u (Xh);
test v (Xh);
form a = integrate (omega, dot(grad(u),grad(v)));
This documentation has been generated from file main/lib/test.h
The test and trial classes are simply aliases to the test_basic class:
The test_basic class provides an interface, via the smart_pointer class family, to a data container: