DUNE-ACFEM (2.5.1)

Classes

class  ScopedRedirect
 A class to redirect streams. More...
 

Macros

#define __DUNE_ACFEM_MAKE_CHECK__   1
 Enable additional test-code, ATM only local -> global evaluation in the GridFunctionAdapter.
 
#define __DUNE_ACFEM_MAKE_CHECK__   1
 Enable additional test-code, ATM only local -> global evaluation in the GridFunctionAdapter.
 

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()

template<class Model , class DiscreteSpace >
void gridWalkTest ( const ModelInterface< Model > &  model,
const DiscreteSpace &  dfSpace 
)

◆ 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().

Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Apr 21, 22:30, 2024)