File: petscfetypes.h.html

package info (click to toggle)
petsc 3.23.1%2Bdfsg1-1exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 515,576 kB
  • sloc: ansic: 751,607; cpp: 51,542; python: 38,598; f90: 17,352; javascript: 3,493; makefile: 3,157; sh: 1,502; xml: 619; objc: 445; java: 13; csh: 1
file content (69 lines) | stat: -rw-r--r-- 5,504 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
62
63
64
65
66
67
68
69
<center><a href="https://gitlab.com/petsc/petsc/-/blob/966382dc56242773704ef5f5cee7aa2db3ebc577/include/petscfetypes.h">Actual source code: petscfetypes.h</a></center><br>

<html>
<head>
<title></title>
<meta name="generator" content="c2html 0.9.6">
<meta name="date" content="2025-04-30T18:14:50+00:00">
</head>

<body bgcolor="#FFFFFF">
<pre width=80>
<a name="line1">  1: </a><font color="#A020F0">#pragma once</font>

<a name="line3">  3: </a><font color="#B22222">/* MANSEC = <a href="../manualpages/DM/DM.html">DM</a> */</font>
<a name="line4">  4: </a><font color="#B22222">/* SUBMANSEC = FE */</font>

<a name="line6">  6: </a><font color="#B22222">/*S</font>
<a name="line7">  7: </a><font color="#B22222">  <a href="../manualpages/FE/PetscFE.html">PetscFE</a> - PETSc object that manages a finite element space, e.g. the P_1 Lagrange element</font>

<a name="line9">  9: </a><font color="#B22222">  Level: beginner</font>

<a name="line11"> 11: </a><font color="#B22222">.seealso: `<a href="../manualpages/FE/PetscFECreate.html">PetscFECreate</a>()`, `<a href="../manualpages/SPACE/PetscSpace.html">PetscSpace</a>`, `<a href="../manualpages/DUALSPACE/PetscDualSpace.html">PetscDualSpace</a>`, `<a href="../manualpages/SPACE/PetscSpaceCreate.html">PetscSpaceCreate</a>()`, `<a href="../manualpages/DUALSPACE/PetscDualSpaceCreate.html">PetscDualSpaceCreate</a>()`, `<a href="../manualpages/FE/PetscFESetType.html">PetscFESetType</a>()`, `<a href="../manualpages/FE/PetscFEType.html">PetscFEType</a>`</font>
<a name="line12"> 12: </a><font color="#B22222">S*/</font>
<a name="line13"> 13: </a><font color="#4169E1">typedef struct _p_PetscFE *<a href="../manualpages/FE/PetscFE.html">PetscFE</a>;</font>

<a name="line15"> 15: </a><font color="#B22222">/*MC</font>
<a name="line16"> 16: </a><font color="#B22222">  <a href="../manualpages/FE/PetscFEJacobianType.html">PetscFEJacobianType</a> - indicates which pointwise functions should be used to fill the Jacobian matrix</font>

<a name="line18"> 18: </a><font color="#B22222">  Level: beginner</font>

<a name="line20"> 20: </a><font color="#B22222">.seealso: `<a href="../manualpages/FE/PetscFEIntegrateJacobian.html">PetscFEIntegrateJacobian</a>()`</font>
<a name="line21"> 21: </a><font color="#B22222">M*/</font>
<a name="line22"> 22: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line23"> 23: </a>  PETSCFE_JACOBIAN,
<a name="line24"> 24: </a>  PETSCFE_JACOBIAN_PRE,
<a name="line25"> 25: </a>  PETSCFE_JACOBIAN_DYN
<a name="line26"> 26: </a>} <a href="../manualpages/FE/PetscFEJacobianType.html">PetscFEJacobianType</a>;

<a name="line28"> 28: </a><font color="#B22222">/*E</font>
<a name="line29"> 29: </a><font color="#B22222">  <a href="../manualpages/FE/PetscFEGeomMode.html">PetscFEGeomMode</a> - Describes the type of geometry being encoded.</font>

<a name="line31"> 31: </a><font color="#B22222">  Values:</font>
<a name="line32"> 32: </a><font color="#B22222">+ `<a href="../manualpages/FE/PetscFEGeomMode.html">PETSC_FEGEOM_BASIC</a>`    - These are normal dim-cells, with dim == dE, and only bulk data is stored.</font>
<a name="line33"> 33: </a><font color="#B22222">. `<a href="../manualpages/FE/PetscFEGeomMode.html">PETSC_FEGEOM_EMBEDDED</a>` - These are dim-cells embedded in a higher dimension, as an embedded manifold, where dim &lt; dE and only bulk data is stored.</font>
<a name="line34"> 34: </a><font color="#B22222">. `<a href="../manualpages/FE/PetscFEGeomMode.html">PETSC_FEGEOM_BOUNDARY</a>` - These are dim-cells on the boundary of a dE-mesh, so that dim &lt; dE, and both bulk and s = 1 face data are stored.</font>
<a name="line35"> 35: </a><font color="#B22222">- `<a href="../manualpages/FE/PetscFEGeomMode.html">PETSC_FEGEOM_COHESIVE</a>` - These are dim-cells in the interior of a dE-mesh, so that dim &lt; dE, and both bulk and s = 2 face data are stored.</font>

<a name="line37"> 37: </a><font color="#B22222">  Level: beginner</font>

<a name="line39"> 39: </a><font color="#B22222">  Note:</font>
<a name="line40"> 40: </a><font color="#B22222">  .vb</font>
<a name="line41"> 41: </a><font color="#B22222">  dim - The topological dimension and reference coordinate dimension</font>
<a name="line42"> 42: </a><font color="#B22222">  dE  - The real coordinate dimension</font>
<a name="line43"> 43: </a><font color="#B22222">  s   - The number of supporting cells for a face</font>
<a name="line44"> 44: </a><font color="#B22222">  .ve</font>

<a name="line46"> 46: </a><font color="#B22222">.seealso: [](ch_dmbase), `<a href="../manualpages/FE/PetscFEGeom.html">PetscFEGeom</a>`, `<a href="../manualpages/DM/DM.html">DM</a>`, `<a href="../manualpages/DMPlex/DMPLEX.html">DMPLEX</a>`, `<a href="../manualpages/FE/PetscFEGeomCreate.html">PetscFEGeomCreate</a>()`</font>
<a name="line47"> 47: </a><font color="#B22222">E*/</font>
<a name="line48"> 48: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line49"> 49: </a>  <a href="../manualpages/FE/PetscFEGeomMode.html">PETSC_FEGEOM_BASIC</a>,
<a name="line50"> 50: </a>  <a href="../manualpages/FE/PetscFEGeomMode.html">PETSC_FEGEOM_EMBEDDED</a>,
<a name="line51"> 51: </a>  <a href="../manualpages/FE/PetscFEGeomMode.html">PETSC_FEGEOM_BOUNDARY</a>,
<a name="line52"> 52: </a>  <a href="../manualpages/FE/PetscFEGeomMode.html">PETSC_FEGEOM_COHESIVE</a>
<a name="line53"> 53: </a>} <a href="../manualpages/FE/PetscFEGeomMode.html">PetscFEGeomMode</a>;
</pre>
</body>

</html>