DUNE-ACFEM (2.5.1)
Classes | |
class | ScopedRedirect |
A class to redirect streams. More... | |
Functions | |
template<class Model , class DiscreteSpace > | |
void | gridWalkTest (const ModelInterface< Model > &model, const DiscreteSpace &dfSpace) |
Test routine which is called with the GridFunctionExpression from the main-program. More... | |
const std::string | dgfData ("DGF\n" "\n" "Vertex\n" " 0 0\n" " 1 0\n" " 1 1\n" " 0 1\n" " 0.5 0.5\n" "#\n" "\n" "SIMPLEX\n" "0 1 4\n" "1 2 4\n" "2 3 4\n" "3 0 4\n" "#\n" "\n" "BoundaryDomain\n" "default 1\n" "1 1 0 1 1 : blah1 % right boundary\n" "2 0 1 1 1 : blah2 % upper boundary\n" "3 0 0 0 1 : blah3 % left boundary\n" "4 0 0 1 0 : blah4 % lower boundary\n" "#\n" "\n" "GridParameter\n" "% longest or arbitrary (see DGF docu)\n" "refinementedge longest\n" "% there is zarro information on this ... :(\n" "overlap 0\n" "% whatever this may be ...\n" "tolerance 1e-12\n" "% silence?\n" "verbose 0\n" "#\n") |
Embedded grid-function test DGF-"file". | |
int | main (int argc, char *argv[]) |
Test-template main program. More... | |
Detailed Description
Function Documentation
◆ gridWalkTest()
void gridWalkTest | ( | const ModelInterface< Model > & | model, |
const DiscreteSpace & | dfSpace | ||
) |
Test routine which is called with the GridFunctionExpression from the main-program.
We simply walk over the grid and evaluate components of the model.
- Bug:
- Currently the flux- and source-methods are not evaluated and hence not instantiated.
References Dune::ACFem::ModelInterface< ModelType >::bulkForcesFunction(), Dune::ACFem::ModelInterface< ModelType >::dirichletBoundaryFunction(), Dune::ACFem::ModelInterface< ModelType >::dirichletIndicator(), Dune::ACFem::ModelInterface< ModelType >::name(), Dune::ACFem::ModelInterface< ModelType >::neumannBoundaryFunction(), Dune::ACFem::ModelInterface< ModelType >::neumannIndicator(), Dune::ACFem::ModelInterface< ModelType >::operatorParts(), and Dune::ACFem::printConstituents().
◆ main()
int main | ( | int | argc, |
char * | argv[] | ||
) |
Test-template main program.
Instantiate a single expression template and evaluate it on a simple grid.
References Dune::ACFem::boundarySupportedFunction(), Dune::ACFem::coordinateGridFunction(), dgfData(), Dune::ACFem::identityGridFunction(), and Dune::ACFem::oneFunction().