![]() |
AdH Kraken 0.0.0
Next generation Adaptive Hydraulics
|
Functions | |
void | local_dofs_to_global_dofs (int *global_dofs, int ndofs_on_ele, int *dofs, int *local_range, int *ghosts) |
This function takes an array of local (to process) degrees of freedom and gives the global d.o.f. numbers. More... | |
int | global_to_local (int global_col_no, int local_size, int *ghosts, int nghost) |
This function takes a global degree of freedom and gives the local (to processor) d.o.f. number. More... | |
This file collections functions responsible for finding order of finite element degrees of freedom
int global_to_local | ( | int | global_col_no, |
int | local_size, | ||
int * | ghosts, | ||
int | nghost | ||
) |
This function takes a global degree of freedom and gives the local (to processor) d.o.f. number.
[in] | global_col_no | (int) - global d.o.f. number corresponding to the local dofs |
[in] | local_size | (int) - number of degrees of freedom owned by processor |
[in] | ghosts | (int*) - array of d.o.f. numbers that aren't owned by processor |
[in] | nghost | (int) - number of ghost d.o.f |
void local_dofs_to_global_dofs | ( | int * | global_dofs, |
int | ndofs_on_ele, | ||
int * | dofs, | ||
int * | local_range, | ||
int * | ghosts | ||
) |
This function takes an array of local (to process) degrees of freedom and gives the global d.o.f. numbers.
[in,out] | global_dofs | (int*) - array of global dofs corresponding to the local dofs |
[in] | ndofs_on_ele | (int) - number of degrees of freedom to be calculated |
[in] | dofs | (int*) - array of dofs local to the process |
[in] | local_range | (int*) - array of 2 integers, first is global dof start and second is global dof end |
[in] | ghosts | (int*) - array of global dof numbers for ghost dofs on the process |