1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/FE/PetscFEComputeTabulation.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>PetscFEComputeTabulation</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<div id="version" align=right><b>petsc-3.14.5 2021-03-03</b></div>
<div id="bugreport" align=right><a href="mailto:petsc-maint@mcs.anl.gov?subject=Typo or Error in Documentation &body=Please describe the typo or error in the documentation: petsc-3.14.5 v3.14.5 docs/manualpages/FE/PetscFEComputeTabulation.html "><small>Report Typos and Errors</small></a></div>
<A NAME="PetscFEComputeTabulation"><H1>PetscFEComputeTabulation</H1></A>
Tabulates the basis functions, and perhaps derivatives, at the points provided.
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#include "petscfe.h"
<A HREF="../Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</A> <A HREF="../FE/PetscFEComputeTabulation.html#PetscFEComputeTabulation">PetscFEComputeTabulation</A>(<A HREF="../FE/PetscFE.html#PetscFE">PetscFE</A> fem, <A HREF="../Sys/PetscInt.html#PetscInt">PetscInt</A> npoints, const <A HREF="../Sys/PetscReal.html#PetscReal">PetscReal</A> points[], <A HREF="../Sys/PetscInt.html#PetscInt">PetscInt</A> K, PetscTabulation T)
</PRE>
Not collective
<P>
<H3><FONT COLOR="#CC3333">Input Parameters</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>fem </B></TD><TD>- The <A HREF="../FE/PetscFE.html#PetscFE">PetscFE</A> object
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>npoints </B></TD><TD>- The number of tabulation points
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>points </B></TD><TD>- The tabulation point coordinates
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>K </B></TD><TD>- The number of derivatives calculated
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>T </B></TD><TD>- An existing tabulation object with enough allocated space
</TD></TR></TABLE>
<P>
<H3><FONT COLOR="#CC3333">Output Parameter</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>T </B></TD><TD>- The basis function values and derivatives at tabulation points
</TD></TR></TABLE>
<P>
<H3><FONT COLOR="#CC3333">Note</FONT></H3>
<pre>
T->T[0] = B[(p*pdim + i)*Nc + c] is the value at point p for basis function i and component c
</pre>
<pre>
T->T[1] = D[((p*pdim + i)*Nc + c)*dim + d] is the derivative value at point p for basis function i, component c, in direction d
</pre>
<pre>
T->T[2] = H[(((p*pdim + i)*Nc + c)*dim + d)*dim + e] is the value at point p for basis function i, component c, in directions d and e
</pre>
<P>
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../FE/PetscFEGetCellTabulation.html#PetscFEGetCellTabulation">PetscFEGetCellTabulation</A>(), <A HREF="../FE/PetscTabulationDestroy.html#PetscTabulationDestroy">PetscTabulationDestroy</A>()
<BR><P><B></B><H3><FONT COLOR="#CC3333">Level</FONT></H3>intermediate<BR>
<H3><FONT COLOR="#CC3333">Location</FONT></H3>
</B><A HREF="../../../src/dm/dt/fe/interface/fe.c.html#PetscFEComputeTabulation">src/dm/dt/fe/interface/fe.c</A>
<BR><A HREF="./index.html">Index of all FE routines</A>
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
</BODY></HTML>
|