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.

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


Function Documentation

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

Definition at line 39 of file test_intassign.cpp.

Definition at line 33 of file test_intassign.cpp.

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

Definition at line 324 of file test_intassign.cpp.

void mapping_test ( )

Definition at line 279 of file test_intassign.cpp.

Definition at line 27 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 82 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 121 of file test_intassign.cpp.

Definition at line 261 of file test_intassign.cpp.

void test_long_chain ( )

Definition at line 244 of file test_intassign.cpp.

void test_many_pairs ( )

Definition at line 222 of file test_intassign.cpp.

void test_one_pair ( )

Definition at line 209 of file test_intassign.cpp.


Variable Documentation

Definition at line 25 of file test_intassign.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines