Fast Auxiliary Space Preconditioning  1.8.4 Feb/15/2016
quadrature.c File Reference

Quadrature rules. More...

#include <stdio.h>
#include "fasp.h"
#include "fasp_functs.h"

Go to the source code of this file.

Functions

void fasp_quad2d (const INT num_qp, const INT ncoor, REAL(*quad)[3])
 Initialize Lagrange quadrature points and weights. More...
 
void fasp_gauss2d (const INT num_qp, const INT ncoor, REAL(*gauss)[3])
 Initialize Gauss quadrature points and weights. More...
 

Detailed Description

Quadrature rules.

Definition in file quadrature.c.

Function Documentation

void fasp_gauss2d ( const INT  num_qp,
const INT  ncoor,
REAL(*)  gauss[3] 
)

Initialize Gauss quadrature points and weights.

Parameters
num_qpNumber of quadrature points
ncoorDimension of space
gaussQuadrature points and weight
Author
Xuehai Huang, Chensong Zhang, Ludmil Zikatanov
Date
10/21/2008
Note
gauss[*][0] – quad point x in ref coor gauss[*][1] – quad point y in ref coor gauss[*][2] – quad weight

Definition at line 210 of file quadrature.c.

void fasp_quad2d ( const INT  num_qp,
const INT  ncoor,
REAL(*)  quad[3] 
)

Initialize Lagrange quadrature points and weights.

Parameters
num_qpNumber of quadrature points
ncoorDimension of space
quadQuadrature points and weights
Author
Xuehai Huang, Chensong Zhang, Ludmil Zikatanov
Date
10/21/2008
Note
quad[*][0] – quad point x in ref coor quad[*][1] – quad point y in ref coor quad[*][2] – quad weight

Definition at line 31 of file quadrature.c.