libMesh
Functions | Variables
driver.C File Reference

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Variables

libMesh::Parallel::CommunicatorTestCommWorld
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 8 of file driver.C.

References libMesh::LibMeshInit::comm(), libMesh::TriangleWrapper::init(), and TestCommWorld.

9 {
10  // Initialize the library. This is necessary because the library
11  // may depend on a number of other libraries (i.e. MPI and Petsc)
12  // that require initialization before use.
13  libMesh::LibMeshInit init(argc, argv);
14  TestCommWorld = &init.comm();
15 
16  CppUnit::TextUi::TestRunner runner;
17  CppUnit::TestFactoryRegistry &registry = CppUnit::TestFactoryRegistry::getRegistry();
18  runner.addTest( registry.makeTest() );
19 
20  // If the tests all succeed, report success
21  if (runner.run())
22  return 0;
23 
24  // If any test fails report failure
25  return 1;
26 }
libMesh::Parallel::Communicator * TestCommWorld
Definition: driver.C:28
The LibMeshInit class, when constructed, initializes the dependent libraries (e.g.
Definition: libmesh.h:62
void init(triangulateio &t)
Initializes the fields of t to NULL/0 as necessary.

Variable Documentation

Definition at line 28 of file driver.C.

Referenced by BoundaryMeshTest::build_mesh(), MixedDimensionMeshTest::build_mesh(), MeshfunctionDFEM::build_mesh(), SlitMeshTest::build_mesh(), MixedDimensionNonUniformRefinement::build_mesh(), MixedDimensionNonUniformRefinementTriangle::build_mesh(), MixedDimensionNonUniformRefinement3D::build_mesh(), NodalNeighborsTest::do_test(), main(), TimeSolverTestImplementation< NewmarkSolver >::run_test_with_exact_soln(), BoundaryMeshTest::sanityCheck(), ElemTest< elem_type >::setUp(), NumericVectorTest< DistributedVector< Number > >::setUp(), ParsedFEMFunctionTest::setUp(), FETest< order, family, elem_type >::setUp(), MeshSpatialDimensionTest::test1D(), MeshSpatialDimensionTest::test2D(), AllTriTest::test_helper_2D(), AllTriTest::test_helper_3D(), EquationSystemsTest::testAddSystem(), ParallelTest::testAllGather(), ParallelTest::testAllGatherEmptyVectorString(), ParallelTest::testAllGatherHalfEmptyVectorString(), ParallelPointTest::testAllGatherPairPointPoint(), ParallelPointTest::testAllGatherPairRealPoint(), ParallelPointTest::testAllGatherPoint(), ParallelTest::testAllGatherString(), ParallelTest::testAllGatherVectorString(), ParallelTest::testBarrier(), ParallelTest::testBroadcast(), ParallelPointTest::testBroadcastPoint(), ParallelPointTest::testBroadcastVectorValue(), EquationSystemsTest::testConstruction(), PackedRangeTest::testContainerSendReceive(), DefaultCouplingTest::testCoupling(), PointNeighborCouplingTest::testCoupling(), DofMapTest::testDofOwner(), BoundaryInfoTest::testEdgeBoundaryConditions(), MeshExtruderTest::testExtruder(), ParallelTest::testGather(), ParallelTest::testGatherString(), ParsedFEMFunctionTest::testGradients(), ParsedFEMFunctionTest::testHessians(), ParallelTest::testInfinityMax(), ParallelTest::testInfinityMin(), EquationSystemsTest::testInit(), ParsedFEMFunctionTest::testInlineGetter(), ParsedFEMFunctionTest::testInlineSetter(), ParallelPointTest::testIrecvSend(), ParallelTest::testIrecvSend(), ParallelPointTest::testIsendRecv(), ParallelTest::testIsendRecv(), PointLocatorTest::testLocator(), MappedSubdomainPartitionerTest::testMappedSubdomainPartitioner(), ParallelTest::testMax(), BoundaryInfoTest::testMesh(), ParallelTest::testMin(), ParsedFEMFunctionTest::testNormals(), PackedRangeTest::testNullAllGather(), PackedRangeTest::testNullSendReceive(), EquationSystemsTest::testPostInitAddElem(), EquationSystemsTest::testPostInitAddRealSystem(), EquationSystemsTest::testPostInitAddSystem(), SystemsTest::testProjectCube(), SystemsTest::testProjectCubeWithMeshFunction(), SystemsTest::testProjectLine(), SystemsTest::testProjectSquare(), ParallelTest::testRecvIsendSets(), EquationSystemsTest::testRefineThenReinitPreserveFlags(), SlitMeshRefinedSystemTest::testRestart(), ParallelTest::testScatter(), ParallelTest::testSemiVerify(), BoundaryInfoTest::testShellFaceConstraints(), ParallelTest::testSplit(), CheckpointIOTest::testSplitter(), ParsedFEMFunctionTest::testValues(), and WriteVecAndScalar::testWrite().