ALL 0.9.3
A Loadbalacing Library
Loading...
Searching...
No Matches
ALL_fortran.cpp File Reference
#include "../include/ALL.hpp"
#include "../include/ALL_CustomExceptions.hpp"
#include "../include/ALL_Defines.h"
#include <cassert>
#include <cstring>
#include <vector>
+ Include dependency graph for ALL_fortran.cpp:

Go to the source code of this file.

Macros

#define ALL_catch
 
#define ALL_try   try {
 

Typedefs

typedef ALL::ALL< double, double > ALL_t
 

Functions

void all_balance_c (ALL_t *all_obj)
 
void all_errdesc_c (char *description, size_t len)
 
int all_errno_c (void)
 
void all_finalize_c (ALL_t *all_obj)
 
void all_get_dimension_c (ALL_t *all_obj, int *dim)
 
void all_get_gamma_c (ALL_t *all_obj, double *gamma)
 
void all_get_length_of_work_c (ALL_t *all_obj, int *length)
 
void all_get_neighbors_c (ALL_t *all_obj, int *neighbors, int count)
 
void all_get_number_of_neighbors_c (ALL_t *all_obj, int *count)
 
void all_get_number_of_vertices_c (ALL_t *all_obj, int *n_vertices)
 
void all_get_prev_vertices_c (ALL_t *all_obj, int n_vertices, double *prevVertices)
 
void all_get_vertices_c (ALL_t *all_obj, int n_vertices, double *vertices)
 
void all_get_work_array_c (ALL_t *all_obj, double *work, int length)
 
void all_get_work_c (ALL_t *all_obj, double *work)
 
ALL_tall_init_c (ALL::LB_t method, const int dim, double gamma)
 
void all_print_vtk_outlines_c (ALL_t *all_obj known_unused, int known_unused step)
 
void all_print_vtk_vertices_c (ALL_t *all_obj known_unused, int known_unused step)
 
void all_reset_errno_c ()
 
void all_set_communicator_c (ALL_t *all_obj, MPI_Fint fcomm)
 
void all_set_gamma_c (ALL_t *all_obj, double gamma)
 
void all_set_method_data_histogram_c (ALL_t *all_obj, int *nbins)
 
void all_set_min_domain_size_c (ALL_t *all_obj, int dim, double *domain_size)
 
void all_set_proc_grid_params_c (ALL_t *all_obj, int nloc, int *loc, int nsize, int *size)
 
void all_set_proc_tag_c (ALL_t *all_obj, int tag)
 
void all_set_sys_size_c (ALL_t *all_obj, double *size, int dim)
 
void all_set_vertices_c (ALL_t *all_obj, const int n, const int dim, const double *vertices)
 
void all_set_work_c (ALL_t *all_obj, double work)
 
void all_set_work_multi_c (ALL_t *all_obj, double *work, int dim)
 
void all_setup_c (ALL_t *all_obj)
 

Macro Definition Documentation

◆ ALL_catch

#define ALL_catch
Value:
} catch (ALL::CustomException &e) { \
ALL_errno = e.get_error_id(); \
ALL_errdesc = e.what(); \
}
Customized exceptions for ALL, modified for each specific exception type.
virtual const char * what() const

Definition at line 49 of file ALL_fortran.cpp.

◆ ALL_try

#define ALL_try   try {

Definition at line 48 of file ALL_fortran.cpp.

Typedef Documentation

◆ ALL_t

typedef ALL::ALL<double, double> ALL_t

Definition at line 42 of file ALL_fortran.cpp.

Function Documentation

◆ all_balance_c()

void all_balance_c ( ALL_t * all_obj)

Definition at line 175 of file ALL_fortran.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ all_errdesc_c()

void all_errdesc_c ( char * description,
size_t len )

Definition at line 299 of file ALL_fortran.cpp.

+ Here is the caller graph for this function:

◆ all_errno_c()

int all_errno_c ( void )

Definition at line 290 of file ALL_fortran.cpp.

+ Here is the caller graph for this function:

◆ all_finalize_c()

void all_finalize_c ( ALL_t * all_obj)

Definition at line 72 of file ALL_fortran.cpp.

+ Here is the caller graph for this function:

◆ all_get_dimension_c()

void all_get_dimension_c ( ALL_t * all_obj,
int * dim )

Definition at line 228 of file ALL_fortran.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ all_get_gamma_c()

void all_get_gamma_c ( ALL_t * all_obj,
double * gamma )

Definition at line 181 of file ALL_fortran.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ all_get_length_of_work_c()

void all_get_length_of_work_c ( ALL_t * all_obj,
int * length )

Definition at line 234 of file ALL_fortran.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ all_get_neighbors_c()

void all_get_neighbors_c ( ALL_t * all_obj,
int * neighbors,
int count )

Definition at line 264 of file ALL_fortran.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ all_get_number_of_neighbors_c()

void all_get_number_of_neighbors_c ( ALL_t * all_obj,
int * count )

Definition at line 257 of file ALL_fortran.cpp.

+ Here is the call graph for this function:

◆ all_get_number_of_vertices_c()

void all_get_number_of_vertices_c ( ALL_t * all_obj,
int * n_vertices )

Definition at line 184 of file ALL_fortran.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ all_get_prev_vertices_c()

void all_get_prev_vertices_c ( ALL_t * all_obj,
int n_vertices,
double * prevVertices )

Definition at line 213 of file ALL_fortran.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ all_get_vertices_c()

void all_get_vertices_c ( ALL_t * all_obj,
int n_vertices,
double * vertices )

Definition at line 191 of file ALL_fortran.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ all_get_work_array_c()

void all_get_work_array_c ( ALL_t * all_obj,
double * work,
int length )

Definition at line 248 of file ALL_fortran.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ all_get_work_c()

void all_get_work_c ( ALL_t * all_obj,
double * work )

Definition at line 242 of file ALL_fortran.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ all_init_c()

ALL_t * all_init_c ( ALL::LB_t method,
const int dim,
double gamma )

Definition at line 64 of file ALL_fortran.cpp.

+ Here is the caller graph for this function:

◆ all_print_vtk_outlines_c()

void all_print_vtk_outlines_c ( ALL_t *all_obj known_unused,
int known_unused step )

Definition at line 274 of file ALL_fortran.cpp.

+ Here is the caller graph for this function:

◆ all_print_vtk_vertices_c()

void all_print_vtk_vertices_c ( ALL_t *all_obj known_unused,
int known_unused step )

Definition at line 281 of file ALL_fortran.cpp.

+ Here is the caller graph for this function:

◆ all_reset_errno_c()

void all_reset_errno_c ( )

Definition at line 293 of file ALL_fortran.cpp.

+ Here is the caller graph for this function:

◆ all_set_communicator_c()

void all_set_communicator_c ( ALL_t * all_obj,
MPI_Fint fcomm )

Definition at line 151 of file ALL_fortran.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ all_set_gamma_c()

void all_set_gamma_c ( ALL_t * all_obj,
double gamma )

Definition at line 77 of file ALL_fortran.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ all_set_method_data_histogram_c()

void all_set_method_data_histogram_c ( ALL_t * all_obj,
int * nbins )

Definition at line 172 of file ALL_fortran.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ all_set_min_domain_size_c()

void all_set_min_domain_size_c ( ALL_t * all_obj,
int dim,
double * domain_size )

Definition at line 103 of file ALL_fortran.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ all_set_proc_grid_params_c()

void all_set_proc_grid_params_c ( ALL_t * all_obj,
int nloc,
int * loc,
int nsize,
int * size )

Definition at line 84 of file ALL_fortran.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ all_set_proc_tag_c()

void all_set_proc_tag_c ( ALL_t * all_obj,
int tag )

Definition at line 206 of file ALL_fortran.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ all_set_sys_size_c()

void all_set_sys_size_c ( ALL_t * all_obj,
double * size,
int dim )

Definition at line 158 of file ALL_fortran.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ all_set_vertices_c()

void all_set_vertices_c ( ALL_t * all_obj,
const int n,
const int dim,
const double * vertices )

Definition at line 131 of file ALL_fortran.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ all_set_work_c()

void all_set_work_c ( ALL_t * all_obj,
double work )

Definition at line 116 of file ALL_fortran.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ all_set_work_multi_c()

void all_set_work_multi_c ( ALL_t * all_obj,
double * work,
int dim )

Definition at line 123 of file ALL_fortran.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ all_setup_c()

void all_setup_c ( ALL_t * all_obj)

Definition at line 166 of file ALL_fortran.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: