My Project
programmer's documentation
Functions
fvm_periodicity.c File Reference
#include "cs_defs.h"
#include <assert.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "bft_error.h"
#include "bft_mem.h"
#include "bft_printf.h"
#include "fvm_defs.h"
#include "fvm_periodicity.h"
Include dependency graph for fvm_periodicity.c:

Functions

fvm_periodicity_tfvm_periodicity_create (double equiv_tolerance)
 
fvm_periodicity_tfvm_periodicity_destroy (fvm_periodicity_t *this_periodicity)
 
int fvm_periodicity_get_n_transforms (const fvm_periodicity_t *this_periodicity)
 
int fvm_periodicity_get_n_levels (const fvm_periodicity_t *this_periodicity)
 
void fvm_periodicity_get_tr_level_idx (const fvm_periodicity_t *this_periodicity, int tr_level_index[4])
 
int fvm_periodicity_add_by_matrix (fvm_periodicity_t *this_periodicity, int external_num, fvm_periodicity_type_t type, double matrix[3][4])
 
int fvm_periodicity_add_translation (fvm_periodicity_t *this_periodicity, int external_num, const double translation[3])
 
int fvm_periodicity_add_rotation (fvm_periodicity_t *this_periodicity, int external_num, double angle, const double axis[3], const double invariant_point[3])
 
int fvm_periodicity_get_transform_id (const fvm_periodicity_t *this_periodicity, int external_num, int direction)
 
fvm_periodicity_type_t fvm_periodicity_get_type (const fvm_periodicity_t *this_periodicity, int tr_id)
 
int fvm_periodicity_get_reverse_id (const fvm_periodicity_t *this_periodicity, int tr_id)
 
void fvm_periodicity_get_parent_ids (const fvm_periodicity_t *this_periodicity, int tr_id, int parent_ids[2])
 
void fvm_periodicity_get_components (const fvm_periodicity_t *this_periodicity, int tr_id, int component_ids[3])
 
int fvm_periodicity_get_equiv_id (const fvm_periodicity_t *this_periodicity, int tr_id)
 
void fvm_periodicity_get_matrix (const fvm_periodicity_t *this_periodicity, int tr_id, double matrix[3][4])
 
void fvm_periodicity_combine (fvm_periodicity_t *this_periodicity, int abort_on_error)
 
void fvm_periodicity_dump (const fvm_periodicity_t *this_periodicity)
 

Function Documentation

◆ fvm_periodicity_add_by_matrix()

int fvm_periodicity_add_by_matrix ( fvm_periodicity_t this_periodicity,
int  external_num,
fvm_periodicity_type_t  type,
double  matrix[3][4] 
)

◆ fvm_periodicity_add_rotation()

int fvm_periodicity_add_rotation ( fvm_periodicity_t this_periodicity,
int  external_num,
double  angle,
const double  axis[3],
const double  invariant_point[3] 
)

◆ fvm_periodicity_add_translation()

int fvm_periodicity_add_translation ( fvm_periodicity_t this_periodicity,
int  external_num,
const double  translation[3] 
)

◆ fvm_periodicity_combine()

void fvm_periodicity_combine ( fvm_periodicity_t this_periodicity,
int  abort_on_error 
)

◆ fvm_periodicity_create()

fvm_periodicity_t* fvm_periodicity_create ( double  equiv_tolerance)

◆ fvm_periodicity_destroy()

fvm_periodicity_t* fvm_periodicity_destroy ( fvm_periodicity_t this_periodicity)

◆ fvm_periodicity_dump()

void fvm_periodicity_dump ( const fvm_periodicity_t this_periodicity)

◆ fvm_periodicity_get_components()

void fvm_periodicity_get_components ( const fvm_periodicity_t this_periodicity,
int  tr_id,
int  component_ids[3] 
)

◆ fvm_periodicity_get_equiv_id()

int fvm_periodicity_get_equiv_id ( const fvm_periodicity_t this_periodicity,
int  tr_id 
)

◆ fvm_periodicity_get_matrix()

void fvm_periodicity_get_matrix ( const fvm_periodicity_t this_periodicity,
int  tr_id,
double  matrix[3][4] 
)

◆ fvm_periodicity_get_n_levels()

int fvm_periodicity_get_n_levels ( const fvm_periodicity_t this_periodicity)

◆ fvm_periodicity_get_n_transforms()

int fvm_periodicity_get_n_transforms ( const fvm_periodicity_t this_periodicity)

◆ fvm_periodicity_get_parent_ids()

void fvm_periodicity_get_parent_ids ( const fvm_periodicity_t this_periodicity,
int  tr_id,
int  parent_ids[2] 
)

◆ fvm_periodicity_get_reverse_id()

int fvm_periodicity_get_reverse_id ( const fvm_periodicity_t this_periodicity,
int  tr_id 
)

◆ fvm_periodicity_get_tr_level_idx()

void fvm_periodicity_get_tr_level_idx ( const fvm_periodicity_t this_periodicity,
int  tr_level_index[4] 
)

◆ fvm_periodicity_get_transform_id()

int fvm_periodicity_get_transform_id ( const fvm_periodicity_t this_periodicity,
int  external_num,
int  direction 
)

◆ fvm_periodicity_get_type()

fvm_periodicity_type_t fvm_periodicity_get_type ( const fvm_periodicity_t this_periodicity,
int  tr_id 
)