17 using namespace Teuchos;
29 int main(
int argc,
char* argv[])
37 MPI_Init(&argc, &argv);
41 for( i=-100; i<100; i++ ) {
47 for( i=0; i<100; i++ ) {
79 if( x == 0 )
return 0.0;
80 if( x == 1 )
return 1.0;
83 return ( (
double) x *
factFunc(x-1) );
double quadFunc(double x)
static void summarize(Ptr< const Comm< int > > comm, std::ostream &out=std::cout, const bool alwaysWriteLocal=false, const bool writeGlobalStats=true, const bool writeZeroTimers=true, const ECounterSetOp setOp=Intersection, const std::string &filter="", const bool ignoreZeroTimers=false)
Print summary statistics for all timers on the given communicator.
std::string Teuchos_Version()
int main(int argc, char *argv[])
Scope guard for Teuchos::Time, with MPI collective timer reporting.
Smart reference counting pointer class for automatic garbage collection.
Scope guard for Time, that can compute MPI collective timer statistics.