hcurl.h File Reference
#include "refmap.h"
#include <common/trace.h>
#include <common/error.h>
#include <common/callstack.h>
Go to the source code of this file.
Functions |
| template<typename T > |
| void | calc_curl (T(&dx)[3], T(&dy)[3], T(&dz)[3], T(&curl)[3]) |
| | Calculate curl of a vector.
|
| template<typename S , typename T > |
| void | calc_tan_proj (S nx, S ny, S nz, T(&ev)[3], T(&tpe)[3]) |
| | calculates N x EV x N
|
| template<typename f_t , typename res_t > |
| res_t | hcurl_int_u_v (int n, double *wt, fn_t< f_t > *u, fn_t< f_t > *v, geom_t< f_t > *e) |
| template<typename f_t , typename res_t > |
| res_t | hcurl_int_curl_u_curl_v (int n, double *wt, fn_t< f_t > *u, fn_t< f_t > *v, geom_t< f_t > *e) |
| template<typename f_t , typename res_t > |
| res_t | hcurl_int_F_v (int n, double *wt, void(*F)(f_t, f_t, f_t, res_t(&)[3]), fn_t< f_t > *v, geom_t< f_t > *e) |
| | Integral .
|
Function Documentation
template<typename T >
| void calc_curl |
( |
T(&) |
dx[3], |
|
|
T(&) |
dy[3], |
|
|
T(&) |
dz[3], |
|
|
T(&) |
curl[3] | |
|
) |
| | [inline] |
Calculate curl of a vector.
- Parameters:
-
| dx[in] | - vector of x-derivatives |
| dy[in] | - vector of y-derivatives |
| dz[in] | - vector of z-derivatives |
| curl[out] | - will contain the calculated curl |
template<typename S , typename T >
| void calc_tan_proj |
( |
S |
nx, |
|
|
S |
ny, |
|
|
S |
nz, |
|
|
T(&) |
ev[3], |
|
|
T(&) |
tpe[3] | |
|
) |
| | [inline] |
calculates N x EV x N
- Parameters:
-
| nx[in] | - x-component of the normal |
| ny[in] | - y-component of the normal |
| nz[in] | - z-component of the normal |
| ev[in] | - vector to work with |
| tpe[out] | - will contain the calculated value |
template<typename f_t , typename res_t >
| res_t hcurl_int_curl_u_curl_v |
( |
int |
n, |
|
|
double * |
wt, |
|
|
fn_t< f_t > * |
u, |
|
|
fn_t< f_t > * |
v, |
|
|
geom_t< f_t > * |
e | |
|
) |
| | [inline] |
template<typename f_t , typename res_t >
| res_t hcurl_int_F_v |
( |
int |
n, |
|
|
double * |
wt, |
|
|
void(*)(f_t, f_t, f_t, res_t(&)[3]) |
F, |
|
|
fn_t< f_t > * |
v, |
|
|
geom_t< f_t > * |
e | |
|
) |
| | [inline] |
template<typename f_t , typename res_t >
| res_t hcurl_int_u_v |
( |
int |
n, |
|
|
double * |
wt, |
|
|
fn_t< f_t > * |
u, |
|
|
fn_t< f_t > * |
v, |
|
|
geom_t< f_t > * |
e | |
|
) |
| | [inline] |