MOAB: Mesh Oriented datABase  (version 5.2.1)
paraboloid_domain_test.cpp File Reference
#include <iostream>
#include <cstdlib>
#include "Mesquite.hpp"
#include "MeshImpl.hpp"
#include "MsqError.hpp"
#include "Vector3D.hpp"
#include "MeshInterface.hpp"
#include "TestUtil.hpp"
+ Include dependency graph for paraboloid_domain_test.cpp:

Go to the source code of this file.

Classes

class  ParaboloidDomain

Functions

int main ()

Function Documentation

int main ( )

Definition at line 81 of file paraboloid_domain_test.cpp.

References mesh, and MBMesquite::MeshImpl::read_vtk().

{
    MsqPrintError err( cout );
    MBMesquite::MeshImpl mesh;
    std::string file_name = TestDir + "/2D/vtk/quads/untangled/paraboloid.vtk";
    mesh.read_vtk( file_name.c_str(), err );
    if( err ) return 1;

    ParaboloidDomain domain;

    MeshDomainAssoc mesh_and_domain = MeshDomainAssoc( &mesh, &domain, true, true, false );

    std::cout << "Paraboloid Domain Test Passes" << std::endl;
    return 0;
}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines