220 VariationalArg<RT,dim,k>
global(VariationalArg<RT,dim,k>
const& sf,
int deriv=1)
const;
225 template <
class Scalar>
228 Tensor<Scalar,1,dim,dim>>
const& sf)
const;
287 template <
int n,
int m>
296 template <
int n,
int m>
304 template <
int n,
int m>
308 operator Dune::BCRSMatrix<Dune::FieldMatrix<Real,1,1>>()
const;
347 template <
class Cell>
354 template <
class Cell>
357 Cell::dimension>
const& localCoordinate)
const;
416 template <
class Cell,
class Sequence>
419 Sequence& values)
const;
438 template <
int row,
int col>
441 static bool const present;
442 static bool const lumped;
476template <
class X,
class Y>
486 template <
class MatrixType>
499 template <
class Vector>
512 template <
class Vector>
533 template <
class Cell>
547 template <
class Cell,
class Index,
class Values>
631 static int const dim = unspecified;
714 static int const dim = unspecified;
764 template <
int row>
struct D1 {
static bool const assemble = unspecified; };
765 template <
int row,
int col>
struct D2 {
static bool const assemble = unspecified; };
Defines an interface for integrating values computed over a grid.
Collector(Collector const &)
Copy constructor.
void join(Collector &c)
Merges the result of two concurrently filled collectors.
int integrationOrder(Cell const &, int shapeFunctionOrder) const
void operator()(Cell const &cell, Index idx, LocalPosition xi, double weight, Values const &x)
Collects values computed on the grid.
Algebraic combiner of global degrees of freedom to shape function coefficients.
void rightTransform(std::vector< VariationalArg< Real, n, m > > &v) const
In-place computation of row vectors .
void rightTransform(DynamicMatrix< Dune::FieldMatrix< Real, n, m > > &A) const
In-place computation of .
void leftPseudoInverse(DynamicMatrix< Dune::FieldMatrix< Real, n, m > > &A) const
In-place computation of . Given a set of shape function coefficients, this computes the best fit of g...
Geometrical transformation of shape function values.
void setLocalPosition(LocalPosition< Grid > const &x)
Sets the argument of the transformation .
Dune::FieldMatrix< RT, k, 1 > local(Dune::FieldMatrix< RT, k, 1 >) const
Transforms global values to local shape function values.
VariationalArg< RT, dim, k > global(VariationalArg< RT, dim, k > const &sf, int deriv=1) const
Applies the transformation to shape function value and derivatives up to order deriv.
Dune::FieldMatrix< RT, k, 1 > global(Dune::FieldMatrix< RT, k, 1 > const &sf) const
Applies the transformation to shape function value.
ConverterConcept(Cell< Grid > const &cell)
VariationalArg< Scalar, dim, 1 > global(std::tuple< Dune::FieldVector< Scalar, 1 >, Dune::FieldMatrix< Scalar, 1, dim >, Tensor< Scalar, 1, dim, dim > > const &sf) const
Applies the transformation to shape function value, gradient, and Hessian, returning a filled Variat...
void moveTo(Cell< Grid > const &cell)
Defines the cell on which the converter lives.
ConverterConcept()
Create a converter.
Function is the interface for evaluatable functions .
int order(Cell const &cell) const
static int const components
Dune::FieldVector< Scalar, components > ValueType
ValueType value(Cell const &cell, Dune::FieldVector< typename Cell::Geometry::ctype, Cell::dimension > const &localCoordinate) const
A function that supports efficient evaluation via an evaluator.
unspecified Space
The type of finite element space the evaluators of which are required for evaluating this FunctionVie...
Space const & space() const
Provides a reference to the finite element space required for evaluating this FunctionView.
Dune::FieldVector< unspecified, unspecified > value(typename Space::Evaluator const &evaluator) const
Evaluates the function view.
Defines the block structure of defect systems to be solved by the hierarchical error estimator.
A hyperelastic material law.
Scalar d0() const
Evaluates the stored energy density .
unspecified VoigtTensor
The type of stress and strain tensors (usually Dune::FieldMatrix<Scalar,dim*(dim+1)/2,...
unspecified Tensor
The type of stress and strain tensors (usually Dune::FieldMatrix<Scalar,dim,dim>).
VoigtTensor strainToStressMatrix() const
Returns the tangent stiffness tensor mapping strain tensor variations to stress tensor (2nd Piola-Ki...
Scalar d1(Tensor const &e1) const
Evaluates the first directional derivative .
Tensor stress() const
Returns the 2nd Piola-Kirchhoff stress tensor corresponding to the current strain .
static int const dim
The spatial dimension (usually 2 or 3).
Scalar d2(Tensor const &e1, Tensor const &e2) const
Evaluates the second directional derivative .
void setLinearizationPoint(Tensor const &e)
Defines a new evaluation/linearization point.
unspecified Scalar
The scalar field type (usually double).
A hyperelastic material law formulated in terms of the invariants of the Cauchy-Green strain tensor ...
Scalar d1(Invariants const &i1) const
Evaluates the first directional derivative .
static int const dim
The spatial dimension (usually 2 or 3).
unspecified Scalar
The scalar field type (usually double).
void InvariantsMaterialConcept(Invariants const &i,...)
Constructs the material at shifted invariants .
Scalar d0() const
Evaluates the stored energy density .
Scalar d2(Invariants const &i1, Invariants const &i2) const
Evaluates the second directional derivative .
Management of degrees of freedom.
unspecified Grid
The grid type of the grid view.
GlobalIndexRange globalIndices(size_t index) const
The global indices associated with the cell with given index. Returns a const sequence containing th...
CombinerConcept Combiner
The type of the algebraic combiner associated with this cell.
unspecified GridView
The grid view on which the finite element functions are defined.
size_t size() const
Returns the number of global degrees of freedom managed.
Kaskade::Cell< Grid > Cell
The type of codimension 0 entities in the grid.
SortedIndexRange sortedIndices(Cell const &cell) const
Returns an immutable sequence of (global index, local index) pairs sorted in ascending global index o...
unspecified IndexSet
The entity indexing of the grid view.
void update()
Recomputes the node management, e.g. after grid modifications.
ConverterConcept Converter
The type of the geometrical transformation .
GridView const & gridView() const
Returns the grid view used.
unspecified SortedIndexRange
A standard sequence with value type std::pair<IndexSet::IndexType,int>.
ShapeFunctionSet const & shapefunctions(Cell const &cell) const
Returns the shape function set living on the given cell.
unspecified Scalar
The type of scalars used for shape function values.
int maxOrder() const
Returns the maximal polynomial order of shape functions encountered in any cell.
GlobalIndexRange globalIndices(Cell const &cell) const
The global indices associated with this cell. Returns a const sequence containing the global indices...
unspecified ShapeFunctionSet
The type of shape function sets living on the cells.
unspecified GlobalIndexRange
A standard sequence with value type IndexSet::IndexType.
SortedIndexRange sortedIndices(size_t n) const
Returns an immutable sequence of (global index, local index) pairs sorted in ascending global index o...
Combiner combiner(Cell const &cell, size_t index) const
Returns the algebraic combinator.
ShapeFunctionSet const & shapefunctions(size_t index) const
Returns the shape function set living on the cell with given index.
Defines a linear operator with matrix representation .
void vectorToDomain(Vector const &coord, X &x) const
Get from coordinate vector .
void rangeToVector(Y const &y, Vector &coord) const
Get coordinate vector from .
MatrixType get() const
Get matrix-representation of the operator.
A callable that allows to implement weighted (scaled) norms.
void operator()(Cell const &cell, Dune::FieldVector< typename Cell::Geometry::ctype, Cell::dimension > const &localPos, Sequence &values) const
A function that supports efficient evaluation via cell and local coordinate.
Dune::FieldVector< unspecified, unspecified > value(Cell const &cell, Position const &xloc) const
Evaluates the function view.
typename GridView::template Codim< 0 >::Entity Cell
The type of cells (entities of codimension 0) in the grid view.
Dune::FieldVector< typename GridView::ctype, GridView::dimension > LocalPosition
The type of local positions within cells of the grid view.
Dune::FieldVector< Scalar, dim > Vector
static bool const assemble
static bool const assemble
A block filter specifying which subblocks of a stiffness matrix or right hand side shall be assembled...
A Weighing is a class that allows to compute weighted averages of values associated to cells of a gri...
double scalingFactor() const
Defines the global scaling factor .
double operator()(Cell const &c) const
This defines a weight for each cell of the grid.
double offset() const
Defines the global offset .