MeshFields
GPU accelerated mesh-based fields
Classes | Typedefs
MeshField_Shape.hpp File Reference

Shape function definitions for finite element analysis. More...

#include <MeshField_Defines.hpp>
Include dependency graph for MeshField_Shape.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MeshField::LinearEdgeShape
 Linear (P1) shape functions for 1D edge elements. More...
 
struct  MeshField::LinearTriangleShape
 Linear (P1) shape functions for 2D triangular elements. More...
 
struct  MeshField::LinearTriangleCoordinateShape
 Linear triangle shape functions for coordinate fields. More...
 
struct  MeshField::QuadraticTriangleShape
 Quadratic (P2) shape functions for 2D triangular elements. More...
 
struct  MeshField::LinearTetrahedronShape
 [QuadraticTriangleShape] More...
 
struct  MeshField::QuadraticTetrahedronShape
 Quadratic (P2) shape functions for 3D tetrahedral elements. More...
 

Typedefs

using MeshField::Vector1 = Kokkos::Array< Real, 1 >
 1D parametric coordinate vector
 
using MeshField::Vector2 = Kokkos::Array< Real, 2 >
 2D parametric coordinate vector
 
using MeshField::Vector3 = Kokkos::Array< Real, 3 >
 3D parametric coordinate vector
 

Detailed Description

Shape function definitions for finite element analysis.

This file defines shape functions for various mesh element types. Each shape function struct provides methods to evaluate basis functions, their gradients, and parametric coordinates of nodes.

getValues(...) implementation based on SCOREC/core apf/apfShape.cc @ 7cd76473

Definition in file MeshField_Shape.hpp.