MOAB: Mesh Oriented datABase  (version 5.4.1)
PMeanPMetricTest.cpp File Reference
#include "ElementPMeanP.hpp"
#include "VertexPMeanP.hpp"
#include "cppunit/extensions/HelperMacros.h"
#include "PatchDataInstances.hpp"
#include "UnitUtil.hpp"
#include "ElemSampleQM.hpp"
+ Include dependency graph for PMeanPMetricTest.cpp:

Go to the source code of this file.


class  PMeanPMetricTest
class  FauxMetric< B >


template<typename T >
size_t index_of (const std::vector< T > &v, T a)

Function Documentation

template<typename T >
size_t index_of ( const std::vector< T > &  v,
T  a 

Definition at line 346 of file PMeanPMetricTest.cpp.

Referenced by PMeanPMetricTest::test_gradient(), and PMeanPMetricTest::test_hessian().

    return std::find( v.begin(), v.end(), a ) - v.begin();
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines