File: DMFieldEvaluateFV.html

package info (click to toggle)
petsc 3.14.5%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 266,472 kB
  • sloc: ansic: 680,898; python: 33,303; cpp: 16,324; makefile: 14,022; f90: 13,731; javascript: 10,713; fortran: 9,581; sh: 1,373; xml: 619; objc: 445; csh: 192; pascal: 148; java: 13
file content (61 lines) | stat: -rw-r--r-- 4,285 bytes parent folder | download
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
59
60
61
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DM/DMFieldEvaluateFV.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>DMFieldEvaluateFV</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/DM/DMFieldEvaluateFV.html "><small>Report Typos and Errors</small></a></div>
<A NAME="DMFieldEvaluateFV"><H1>DMFieldEvaluateFV</H1></A>
Evaluate the mean of a field and its finite volume derivatives on a set of points. 
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#include "petscdmfield.h" 
#include "petscdmfield.h" 
<A HREF="../Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</A> <A HREF="../DM/DMFieldEvaluateFV.html#DMFieldEvaluateFV">DMFieldEvaluateFV</A>(<A HREF="../DM/DMField.html#DMField">DMField</A> field, <A HREF="../IS/IS.html#IS">IS</A> cellIS, <A HREF="../Sys/PetscDataType.html#PetscDataType">PetscDataType</A> datatype, void *B, void *D, void *H)
</PRE>
Not collective
<P>
<H3><FONT COLOR="#CC3333">Input Parameter</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>field </B></TD><TD>- The <A HREF="../DM/DMField.html#DMField">DMField</A> object
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>cellIS </B></TD><TD>- Index set for cells on which to evaluate the field
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>datatype </B></TD><TD>- The <A HREF="../Sys/PetscDataType.html#PetscDataType">PetscDataType</A> of the output arrays: either PETSC_REAL or PETSC_SCALAR.
If the field is complex and datatype is PETSC_REAL, the real part of the
field is returned.
</TD></TR></TABLE>
<P>
<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>B </B></TD><TD>- pointer to data of size c * n * sizeof(datatype), where c is the number of components in the field.
If B is not NULL, the values of the field are written in this array, varying first by component,
then by point.
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>D </B></TD><TD>- pointer to data of size d * c * n * sizeof(datatype).
If D is not NULL, the values of the field's spatial derivatives are written in this array,
varying first by the partial derivative component, then by field component, then by point.
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>H </B></TD><TD>- pointer to data of size d * d * c * n * sizeof(datatype).
If H is not NULL, the values of the field's second spatial derivatives are written in this array,
varying first by the second partial derivative component, then by field component, then by point.
</TD></TR></TABLE>
<P>

<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
 <A HREF="../DM/DMFieldGetNumComponents.html#DMFieldGetNumComponents">DMFieldGetNumComponents</A>(), <A HREF="../DM/DMFieldEvaluate.html#DMFieldEvaluate">DMFieldEvaluate</A>(), <A HREF="../DM/DMFieldEvaluateFE.html#DMFieldEvaluateFE">DMFieldEvaluateFE</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/field/interface/dmfield.c.html#DMFieldEvaluateFV">src/dm/field/interface/dmfield.c</A>
<P><H3><FONT COLOR="#CC3333">Examples</FONT></H3>
<A HREF="../../../src/dm/field/tutorials/ex1.c.html">src/dm/field/tutorials/ex1.c.html</A><BR>
<P><H3><FONT COLOR="CC3333">Implementations</FONT></H3><A HREF="../../../src/dm/field/impls/da/dmfieldda.c.html#DMFieldEvaluateFV_DA">DMFieldEvaluateFV_DA in src/dm/field/impls/da/dmfieldda.c</A><BR>
<A HREF="../../../src/dm/field/impls/ds/dmfieldds.c.html#DMFieldEvaluateFV_DS">DMFieldEvaluateFV_DS in src/dm/field/impls/ds/dmfieldds.c</A><BR>
<BR><A HREF="./index.html">Index of all DM 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>