Programming tasks to Scientific Computing I
Classes | Enumerations | Functions
shellFE Namespace Reference

Classes

class  AdaptiveTriangMesh
 
class  CenterOfMassQuadrature
 Different quadrature types for triangular meshes. More...
 
class  createConstantRHS
 Assembly operator for constant RHS. More...
 
class  createNonConstantRHS
 Assembly operator for non-constant RHS. More...
 
class  DiscreteFunctionDefaultShellFE
 Helper class to evaluate a discrete nodal function on a given mesh. More...
 
struct  DiscreteFunctionLookup
 
class  DiscreteVectorFunctionDefaultShellFE
 Helper class to evaluate a discrete vector-valued nodal function on a given mesh. More...
 
class  EdgeQuadrature
 
class  LegacyVtkWriter
 
class  MatrixValuedIntegratorBase
 General interface for matrix valued integrators. More...
 
class  ShellElementWithTangentSpaceAtVertex
 Triangle which has a tangent space at each node. More...
 
class  ShellHandler
 Additional information about TriangleMeshes. More...
 
class  TriangMesh
 
class  UnitTriangleBaseFunctionSetInterface
 Inteface. More...
 
class  UnitTriangleFELinWeightedStiffIntegrator
 Provides an easy interface to Finite Element operators of the form $ \mbox{div}(A(x)\nabla u)$, where $A$ is an ASYMMETRIC coefficient matrix. The corresponding matrix assembly yields $ \left(\int_\Omega \nabla\phi_i\cdot A(x)\nabla\phi_j dx\right)_{ij} $ for FE basis functions $ \phi_i,\phi_j $. More...
 
class  UnitTriangleFENonlinIntegrationScalarIntegratorShellFE
 Integrator to compute $\int_\Omega f(\phi,x) dx$, where $\phi$ is the argument of the operator. More...
 
class  UnitTriangleFENonlinOpIntegratorShellFE
 Integrator for $ (\int_\Omega s(x) w_i(x) da )_{i} $, of some scalar valued function $ s$. More...
 
class  UnitTriangMeshBaseFunctionSetP1
 Base function set for unit triangle. Unit triangle embedded in R^2 is given by the three positions (0,0), (1,0) and (0,1). More...
 
class  UnitTriangMeshConfiguratorP1
 Configurator for $\mathcal{P}^1$ Finite Elements. More...
 

Enumerations

enum  ShellFEType { NodalValuedDofs, C1Dofs }
 
enum  DataSupp { VERTEX_DATA, FACE_DATA }
 data can either belong to vertices or to faces More...
 
enum  VectorSpec { VECTORS, NORMALS }
 vector-valued data can be saved (in VTK legacy format) as 3-vectors, normals or texture coordinates (the file format also supports color scalars and lookup tables, which we will not use). More...
 
enum  ShellBoundaryType {
  ALLBOUNDARY = 100, NOBOUNDARY = 0, PlateLeft = 1, PlateLeftTop = 2,
  PlateAll = 3
}
 

Functions

template<typename ConfiguratorType >
void createMaskedConstantRHS (const ConfiguratorType &conf, const ShellHandler< ConfiguratorType > &shellHandler, typename ConfiguratorType::RealType val, typename ConfiguratorType::VectorType &rhs, const bool collapseBoundaryValues=true)
 Assembles constant rhs. More...
 
template<typename ConfiguratorType >
void createMaskedNonConstantRHS (const ConfiguratorType &conf, const ShellHandler< ConfiguratorType > &shellHandler, typename ConfiguratorType::RealType val, typename ConfiguratorType::VectorType &rhs, const bool collapseBoundaryValues=true)
 Assembles sin-type rhs. More...
 

Enumeration Type Documentation

data can either belong to vertices or to faces

Enumerator
VERTEX_DATA 
FACE_DATA 

Definition at line 7 of file legacyVtkWriter.h.

Enumerator
ALLBOUNDARY 
NOBOUNDARY 
PlateLeft 
PlateLeftTop 
PlateAll 

Definition at line 9 of file shellHandler.h.

Enumerator
NodalValuedDofs 
C1Dofs 

Definition at line 9 of file configuratorsShellFE.h.

vector-valued data can be saved (in VTK legacy format) as 3-vectors, normals or texture coordinates (the file format also supports color scalars and lookup tables, which we will not use).

Enumerator
VECTORS 
NORMALS 

Definition at line 9 of file legacyVtkWriter.h.

Function Documentation

template<typename ConfiguratorType >
void shellFE::createMaskedConstantRHS ( const ConfiguratorType conf,
const ShellHandler< ConfiguratorType > &  shellHandler,
typename ConfiguratorType::RealType  val,
typename ConfiguratorType::VectorType rhs,
const bool  collapseBoundaryValues = true 
)

Assembles constant rhs.

Definition at line 94 of file rhs.h.

99 {
100  const typename ConfiguratorType::MaskType boundaryMask(
101  shellHandler.getDirichletMask());
102  int numGlobalDofs = conf.getNumGlobalDofs();
103  rhs.setZero();
104 
105  createConstantRHS<ConfiguratorType>(conf, val).assembleAdd(rhs);
106 
107  //bc rhs_force
108  if (collapseBoundaryValues) {
109  for (int i = 0; i < numGlobalDofs; ++i) {
110  if (boundaryMask[i]) {
111  rhs[i] = 0.0;
112  }
113  }
114  }
115 }
DataTypeContainer::MaskType MaskType
int getNumGlobalDofs() const
Returns the number of global degrees of freedom.
template<typename ConfiguratorType >
void shellFE::createMaskedNonConstantRHS ( const ConfiguratorType conf,
const ShellHandler< ConfiguratorType > &  shellHandler,
typename ConfiguratorType::RealType  val,
typename ConfiguratorType::VectorType rhs,
const bool  collapseBoundaryValues = true 
)

Assembles sin-type rhs.

Definition at line 119 of file rhs.h.

124 {
125  const typename ConfiguratorType::MaskType boundaryMask(
126  shellHandler.getDirichletMask());
127  int numGlobalDofs = conf.getNumGlobalDofs();
128  rhs.setZero();
129 
130  createNonConstantRHS<ConfiguratorType>(conf).assembleAdd(rhs);
131 
132  //bc rhs_force
133  if (collapseBoundaryValues) {
134  for (int i = 0; i < numGlobalDofs; ++i) {
135  if (boundaryMask[i]) {
136  rhs[i] = 0.0;
137  }
138  }
139  }
140 }
DataTypeContainer::MaskType MaskType
int getNumGlobalDofs() const
Returns the number of global degrees of freedom.