#include "roccom.h"
#include <cstdio>
#include <iostream>
#include <fstream>
#include <algorithm>
#include <cstring>
#include <string>
#include <cstdlib>
#include <cmath>
#include <cassert>
#include <sstream>
#include "roccom_assertion.h"
#include "../Rocsurf/test/IM_Reader.h"
Go to the source code of this file.
Classes | |
struct | Control_parameter |
Functions | |
COM_EXTERN_MODULE (Rocprop) | |
COM_EXTERN_MODULE (Rocout) | |
void | load_modules () |
void | print_usage (int argc, char *argv[]) |
void | read_control_file (const char *fname, Control_parameter &cp) |
void | init_parameters (const Control_parameter &cntr_param) |
std::string | read_in_mesh (const char *fname) |
void | init_attributes (const string &wname, const Control_parameter &cntr_param) |
void | output_solution (const string &wname, const char *timelevel, const string &format) |
int | main (int argc, char *argv[]) |
Variables | |
static int | rank = 0 |
COM_EXTERN_MODULE | ( | Rocprop | ) |
COM_EXTERN_MODULE | ( | Rocout | ) |
void init_attributes | ( | const string & | wname, |
const Control_parameter & | cntr_param | ||
) |
Definition at line 137 of file detectfeas.C.
References COM_DOUBLE, COM_INT, COM_new_attribute(), COM_resize_array(), COM_set_size(), and COM_window_init_done().
void init_parameters | ( | const Control_parameter & | cntr_param | ) |
Definition at line 98 of file detectfeas.C.
References COM_call_function(), COM_get_function_handle(), Control_parameter::fangle, rank, and Control_parameter::sangle.
void load_modules | ( | ) |
Definition at line 46 of file detectfeas.C.
References COM_LOAD_MODULE_STATIC_DYNAMIC.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 185 of file detectfeas.C.
References COM_call_function(), COM_finalize(), COM_get_attribute_handle(), COM_get_function_handle(), COM_init(), COMMPI_Comm_rank(), COMMPI_Initialized(), Control_parameter::format, init_attributes(), init_parameters(), load_modules(), MPI_COMM_WORLD, output_solution(), print_usage(), rank, read_control_file(), and read_in_mesh().
void output_solution | ( | const string & | wname, |
const char * | timelevel, | ||
const string & | format | ||
) |
Definition at line 152 of file detectfeas.C.
References COM_call_function(), COM_get_attribute_handle(), COM_get_function_handle(), and COMMPI_Initialized().
void print_usage | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 53 of file detectfeas.C.
void read_control_file | ( | const char * | fname, |
Control_parameter & | cp | ||
) |
Definition at line 69 of file detectfeas.C.
References COM_assertion_msg, Control_parameter::fangle, Control_parameter::format, and Control_parameter::sangle.
std::string read_in_mesh | ( | const char * | fname | ) |
Definition at line 120 of file detectfeas.C.
References COM_assertion_msg, rank, and IM_Reader::read_winmesh().
|
static |
Definition at line 51 of file detectfeas.C.
Referenced by init_parameters(), main(), and read_in_mesh().