MeshKit  1.0
test_intassign.cpp File Reference
#include "TestUtil.hpp"
#include "meshkit/MKCore.hpp"
#include "meshkit/IAInterface.hpp"
#include "meshkit/IAVariable.hpp"
#include "meshkit/TFIMapping.hpp"
#include <stdio.h>
#include <iostream>
Include dependency graph for test_intassign.cpp:

Go to the source code of this file.

Defines

#define INTASSIGN_TEST_FILE   "squaresurf.facet"

Functions

MeshKit::IAInterfacenew_ia_interface ()
void delete_ia_interface (MeshKit::IAInterface *)
bool check_solution_correctness (MeshKit::IAInterface *ia_interface, std::vector< std::pair< int, int > > &correct_solution)
void set_decoupled_pairs (MeshKit::IAInterface *ia_interface, int num_pairs, double goal1, double goal2, std::vector< std::pair< int, int > > &correct_solution)
void set_mapping_chain (MeshKit::IAInterface *ia_interface, const int num_sides, const bool grow_goal_by_i, const int goal_m1, const int goal_m2, const int num_curve_min, const int num_curve_max)
void test_one_pair ()
void test_many_pairs ()
void test_long_chain ()
void test_growing_chain ()
void mapping_test ()
int main (int argv, char *argc[])

Variables

MeshKit::MKCoremk

Detailed Description


Define Documentation

#define INTASSIGN_TEST_FILE   "squaresurf.facet"
Examples:
example_intassign.cpp.

Definition at line 24 of file test_intassign.cpp.


Function Documentation

bool check_solution_correctness ( MeshKit::IAInterface ia_interface,
std::vector< std::pair< int, int > > &  correct_solution 
)

Definition at line 41 of file test_intassign.cpp.

Definition at line 35 of file test_intassign.cpp.

int main ( int  argv,
char *  argc[] 
)

Definition at line 333 of file test_intassign.cpp.

void mapping_test ( )

Definition at line 281 of file test_intassign.cpp.

Definition at line 29 of file test_intassign.cpp.

void set_decoupled_pairs ( MeshKit::IAInterface ia_interface,
int  num_pairs,
double  goal1,
double  goal2,
std::vector< std::pair< int, int > > &  correct_solution 
)

Definition at line 84 of file test_intassign.cpp.

void set_mapping_chain ( MeshKit::IAInterface ia_interface,
const int  num_sides,
const bool  grow_goal_by_i,
const int  goal_m1,
const int  goal_m2,
const int  num_curve_min,
const int  num_curve_max 
)

Definition at line 123 of file test_intassign.cpp.

Definition at line 263 of file test_intassign.cpp.

void test_long_chain ( )

Definition at line 246 of file test_intassign.cpp.

void test_many_pairs ( )

Definition at line 224 of file test_intassign.cpp.

void test_one_pair ( )

Definition at line 211 of file test_intassign.cpp.


Variable Documentation

Definition at line 27 of file test_intassign.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines