fecomposite.c (cfd92c66bdae16b66d27a6336fb90fa54c459cc4) fecomposite.c (a4e35b1925eceef64945ea472b84f2bf06a67b5e)
1#include <petsc/private/petscfeimpl.h> /*I "petscfe.h" I*/
2#include <petsc/private/dtimpl.h> /*I "petscdt.h" I*/
3#include <petscblaslapack.h>
4#include <petscdmplextransform.h>
5
6static PetscErrorCode PetscFEDestroy_Composite(PetscFE fem)
7{
8 PetscFE_Composite *cmp = (PetscFE_Composite *)fem->data;

--- 227 unchanged lines hidden (view full) ---

236 PetscFECompositeGetMapping - Returns the mappings from the reference element to each subelement
237
238 Not Collective
239
240 Input Parameter:
241. fem - The `PetscFE` object
242
243 Output Parameters:
1#include <petsc/private/petscfeimpl.h> /*I "petscfe.h" I*/
2#include <petsc/private/dtimpl.h> /*I "petscdt.h" I*/
3#include <petscblaslapack.h>
4#include <petscdmplextransform.h>
5
6static PetscErrorCode PetscFEDestroy_Composite(PetscFE fem)
7{
8 PetscFE_Composite *cmp = (PetscFE_Composite *)fem->data;

--- 227 unchanged lines hidden (view full) ---

236 PetscFECompositeGetMapping - Returns the mappings from the reference element to each subelement
237
238 Not Collective
239
240 Input Parameter:
241. fem - The `PetscFE` object
242
243 Output Parameters:
244+ blockSize - The number of elements in a block
245. numBlocks - The number of blocks in a batch
246. batchSize - The number of elements in a batch
247- numBatches - The number of batches in a chunk
244+ numSubelements - The number of sub elements
245. v0 - The affine transformation for each element
246. jac - The Jacobian for each element
247- invjac - The inverse of the Jacobian
248
249 Level: intermediate
250
251.seealso: `PetscFE`, `PetscFECreate()`
252@*/
253PetscErrorCode PetscFECompositeGetMapping(PetscFE fem, PetscInt *numSubelements, const PetscReal *v0[], const PetscReal *jac[], const PetscReal *invjac[])
254{
255 PetscFE_Composite *cmp = (PetscFE_Composite *)fem->data;

--- 21 unchanged lines hidden ---
248
249 Level: intermediate
250
251.seealso: `PetscFE`, `PetscFECreate()`
252@*/
253PetscErrorCode PetscFECompositeGetMapping(PetscFE fem, PetscInt *numSubelements, const PetscReal *v0[], const PetscReal *jac[], const PetscReal *invjac[])
254{
255 PetscFE_Composite *cmp = (PetscFE_Composite *)fem->data;

--- 21 unchanged lines hidden ---