Nek5000
SEM for Incompressible NS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros | Functions
tensor.c File Reference
#include "c99.h"
#include "name.h"
#include "types.h"
+ Include dependency graph for tensor.c:

Go to the source code of this file.

Macros

#define tensor_dot   PREFIXED_NAME(tensor_dot )
 
#define tensor_mtxm   PREFIXED_NAME(tensor_mtxm)
 

Functions

double tensor_dot (const double *a, const double *b, uint n)
 
void tensor_mtxm (double *restrict C, uint nc, const double *restrict A, uint na, const double *restrict B, uint nb)
 

Macro Definition Documentation

#define tensor_dot   PREFIXED_NAME(tensor_dot )

Definition at line 7 of file tensor.c.

Referenced by apply_Xt(), comm_dot(), findpt_edge(), findpt_face(), main(), orthogonalize(), and tensor_mtxm().

#define tensor_mtxm   PREFIXED_NAME(tensor_mtxm)

Function Documentation

double tensor_dot ( const double *  a,
const double *  b,
uint  n 
)

Definition at line 12 of file tensor.c.

References n, and sum().

+ Here is the call graph for this function:

void tensor_mtxm ( double *restrict  C,
uint  nc,
const double *restrict  A,
uint  na,
const double *restrict  B,
uint  nb 
)

Definition at line 70 of file tensor.c.

References A, i, restrict, tensor_dot, and uint.