MeshKit  1.0
ia_main_stub.cpp File Reference
#include <stdio.h>
#include <iostream>
#include <assert.h>
#include <cmath>
#include "IAInterface.hpp"
#include "IAVariable.hpp"
Include dependency graph for ia_main_stub.cpp:

Go to the source code of this file.

Functions

MeshKit::IAInterfacenew_ia_interface ()
void delete_ia_interface (MeshKit::IAInterface *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 set_mapping_face (MeshKit::IAInterface *ia_interface)
void set_mapping_side (MeshKit::IAInterface *ia_interface, unsigned int num_curves, MeshKit::IAInterface::IAVariableVec &side, std::vector< double > &goals)
void set_mapping_face (MeshKit::IAInterface *ia_interface, unsigned int num_curves_1, MeshKit::IAInterface::IAVariableVec &side_1, std::vector< double > &goals_1, unsigned int num_curves_2, MeshKit::IAInterface::IAVariableVec &side_2, std::vector< double > &goals_2)
void set_half_integer (MeshKit::IAInterface *ia_interface, int version)
void test_half_integer ()
void test_scaling_by_curves ()
void test_map_skew ()
void test_one_pair ()
void test_many_pairs ()
void test_long_chain ()
void test_growing_chain ()
void mapping_test ()
void paving_test ()
int main (int argv, char *argc[])

Function Documentation

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

Definition at line 22 of file ia_main_stub.cpp.

void delete_ia_interface ( MeshKit::IAInterface iainterface)

Definition at line 17 of file ia_main_stub.cpp.

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

Definition at line 695 of file ia_main_stub.cpp.

void mapping_test ( )

Definition at line 631 of file ia_main_stub.cpp.

Definition at line 12 of file ia_main_stub.cpp.

void paving_test ( )

Definition at line 663 of file ia_main_stub.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 65 of file ia_main_stub.cpp.

void set_half_integer ( MeshKit::IAInterface ia_interface,
int  version 
)

Definition at line 281 of file ia_main_stub.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 104 of file ia_main_stub.cpp.

void set_mapping_face ( MeshKit::IAInterface ia_interface)

Definition at line 156 of file ia_main_stub.cpp.

void set_mapping_face ( MeshKit::IAInterface ia_interface,
unsigned int  num_curves_1,
MeshKit::IAInterface::IAVariableVec side_1,
std::vector< double > &  goals_1,
unsigned int  num_curves_2,
MeshKit::IAInterface::IAVariableVec side_2,
std::vector< double > &  goals_2 
)

Definition at line 252 of file ia_main_stub.cpp.

void set_mapping_side ( MeshKit::IAInterface ia_interface,
unsigned int  num_curves,
MeshKit::IAInterface::IAVariableVec side,
std::vector< double > &  goals 
)

Definition at line 232 of file ia_main_stub.cpp.

Definition at line 613 of file ia_main_stub.cpp.

Definition at line 487 of file ia_main_stub.cpp.

void test_long_chain ( )

Definition at line 579 of file ia_main_stub.cpp.

void test_many_pairs ( )

Definition at line 557 of file ia_main_stub.cpp.

void test_map_skew ( )

Definition at line 533 of file ia_main_stub.cpp.

void test_one_pair ( )

Definition at line 544 of file ia_main_stub.cpp.

Definition at line 507 of file ia_main_stub.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines