MFEM
v4.3.0
Finite element discretization library
|
Auxiliary class for evaluating the 3x3 matrix invariants and their first and second derivatives. More...
#include <invariants.hpp>
Public Member Functions | |
InvariantsEvaluator3D (const scalar_t *Jac=NULL) | |
The Jacobian should use column-major storage. More... | |
~InvariantsEvaluator3D () | |
void | SetJacobian (const scalar_t *Jac) |
The Jacobian should use column-major storage. More... | |
void | SetDerivativeMatrix (int height, const scalar_t *Deriv) |
The Deriv matrix is dof x 3 , using column-major storage. More... | |
scalar_t | Get_I1 () |
scalar_t | Get_I1b () |
scalar_t | Get_I2 () |
scalar_t | Get_I2b () |
scalar_t | Get_I3 () |
scalar_t | Get_I3b () |
const scalar_t * | Get_dI1 () |
const scalar_t * | Get_dI1b () |
const scalar_t * | Get_dI2 () |
const scalar_t * | Get_dI2b () |
const scalar_t * | Get_dI3 () |
const scalar_t * | Get_dI3b () |
void | Assemble_ddI1 (scalar_t w, scalar_t *A) |
void | Assemble_ddI1b (scalar_t w, scalar_t *A) |
void | Assemble_ddI2 (scalar_t w, scalar_t *A) |
void | Assemble_ddI2b (scalar_t w, scalar_t *A) |
void | Assemble_ddI3 (scalar_t w, scalar_t *A) |
void | Assemble_ddI3b (scalar_t w, scalar_t *A) |
void | Assemble_TProd (scalar_t w, const scalar_t *X, const scalar_t *Y, scalar_t *A) |
void | Assemble_TProd (scalar_t w, const scalar_t *X, scalar_t *A) |
Protected Types | |
enum | EvalMasks { HAVE_I1 = 1, HAVE_I1b = 2, HAVE_B_offd = 4, HAVE_I2 = 8, HAVE_I2b = 16, HAVE_I3b = 1<<5, HAVE_I3b_p = 1<<6, HAVE_dI1 = 1<<7, HAVE_dI1b = 1<<8, HAVE_dI2 = 1<<9, HAVE_dI2b = 1<<10, HAVE_dI3 = 1<<11, HAVE_dI3b = 1<<12, HAVE_DaJ = 1<<13, HAVE_DJt = 1<<14, HAVE_DdI2t = 1<<15 } |
Protected Member Functions | |
bool | dont (int have_mask) const |
void | Eval_I1 () |
void | Eval_I1b () |
void | Eval_B_offd () |
void | Eval_I2 () |
void | Eval_I2b () |
void | Eval_I3b () |
scalar_t | Get_I3b_p () |
void | Eval_dI1 () |
void | Eval_dI1b () |
void | Eval_dI2 () |
void | Eval_dI2b () |
void | Eval_dI3 () |
void | Eval_dI3b () |
void | Eval_DZt (const scalar_t *Z, scalar_t **DZt_ptr) |
void | Eval_DaJ () |
void | Eval_DJt () |
void | Eval_DdI2t () |
Protected Attributes | |
const scalar_t * | J |
scalar_t | I1 |
scalar_t | I1b |
scalar_t | I2 |
scalar_t | I2b |
scalar_t | I3b |
scalar_t | I3b_p |
scalar_t | dI1 [9] |
scalar_t | dI1b [9] |
scalar_t | dI2 [9] |
scalar_t | dI2b [9] |
scalar_t | dI3 [9] |
scalar_t | dI3b [9] |
scalar_t | B [6] |
int | D_height |
int | alloc_height |
const scalar_t * | D |
scalar_t * | DaJ |
scalar_t * | DJt |
scalar_t * | DdI2t |
scalar_t * | DXt |
scalar_t * | DYt |
int | eval_state |
Auxiliary class for evaluating the 3x3 matrix invariants and their first and second derivatives.
The type scalar_t
must support the standard operations:
=, +=, -=, +, -, *, /, unary -, int*scalar_t, int/scalar_t, scalar_t/int
The type scalar_ops
must define the static methods:
scalar_t sign(const scalar_t &); scalar_t pow(const scalar_t &x, int a, int b); // x^(a/b)
Definition at line 494 of file invariants.hpp.
|
protected |
Enumerator | |
---|---|
HAVE_I1 | |
HAVE_I1b | |
HAVE_B_offd | |
HAVE_I2 | |
HAVE_I2b | |
HAVE_I3b | |
HAVE_I3b_p | |
HAVE_dI1 | |
HAVE_dI1b | |
HAVE_dI2 | |
HAVE_dI2b | |
HAVE_dI3 | |
HAVE_dI3b | |
HAVE_DaJ | |
HAVE_DJt | |
HAVE_DdI2t |
Definition at line 516 of file invariants.hpp.
|
inline |
The Jacobian should use column-major storage.
Definition at line 720 of file invariants.hpp.
|
inline |
Definition at line 724 of file invariants.hpp.
|
inline |
Definition at line 790 of file invariants.hpp.
|
inline |
Definition at line 824 of file invariants.hpp.
|
inline |
Definition at line 948 of file invariants.hpp.
|
inline |
Definition at line 1087 of file invariants.hpp.
|
inline |
Definition at line 1203 of file invariants.hpp.
|
inline |
Definition at line 1250 of file invariants.hpp.
|
inline |
Definition at line 1294 of file invariants.hpp.
|
inline |
Definition at line 1321 of file invariants.hpp.
|
inlineprotected |
Definition at line 539 of file invariants.hpp.
|
inlineprotected |
Definition at line 554 of file invariants.hpp.
|
inlineprotected |
Definition at line 700 of file invariants.hpp.
|
inlineprotected |
Definition at line 711 of file invariants.hpp.
|
inlineprotected |
Definition at line 594 of file invariants.hpp.
|
inlineprotected |
Definition at line 602 of file invariants.hpp.
|
inlineprotected |
Definition at line 615 of file invariants.hpp.
|
inlineprotected |
Definition at line 643 of file invariants.hpp.
|
inlineprotected |
Definition at line 659 of file invariants.hpp.
|
inlineprotected |
Definition at line 671 of file invariants.hpp.
|
inlineprotected |
Definition at line 706 of file invariants.hpp.
|
inlineprotected |
Definition at line 686 of file invariants.hpp.
|
inlineprotected |
Definition at line 541 of file invariants.hpp.
|
inlineprotected |
Definition at line 549 of file invariants.hpp.
|
inlineprotected |
Definition at line 563 of file invariants.hpp.
|
inlineprotected |
Definition at line 572 of file invariants.hpp.
|
inlineprotected |
Definition at line 578 of file invariants.hpp.
|
inline |
Definition at line 760 of file invariants.hpp.
|
inline |
Definition at line 764 of file invariants.hpp.
|
inline |
Definition at line 768 of file invariants.hpp.
|
inline |
Definition at line 772 of file invariants.hpp.
|
inline |
Definition at line 776 of file invariants.hpp.
|
inline |
Definition at line 780 of file invariants.hpp.
|
inline |
Definition at line 753 of file invariants.hpp.
|
inline |
Definition at line 754 of file invariants.hpp.
|
inline |
Definition at line 755 of file invariants.hpp.
|
inline |
Definition at line 756 of file invariants.hpp.
|
inline |
Definition at line 757 of file invariants.hpp.
|
inline |
Definition at line 758 of file invariants.hpp.
|
inlineprotected |
Definition at line 584 of file invariants.hpp.
|
inline |
The Deriv matrix is dof x 3
, using column-major storage.
Definition at line 737 of file invariants.hpp.
|
inline |
The Jacobian should use column-major storage.
Definition at line 734 of file invariants.hpp.
|
protected |
Definition at line 512 of file invariants.hpp.
|
protected |
Definition at line 510 of file invariants.hpp.
|
protected |
Definition at line 513 of file invariants.hpp.
|
protected |
Definition at line 512 of file invariants.hpp.
|
protected |
Definition at line 514 of file invariants.hpp.
|
protected |
Definition at line 514 of file invariants.hpp.
|
protected |
Definition at line 509 of file invariants.hpp.
|
protected |
Definition at line 509 of file invariants.hpp.
|
protected |
Definition at line 509 of file invariants.hpp.
|
protected |
Definition at line 509 of file invariants.hpp.
|
protected |
Definition at line 509 of file invariants.hpp.
|
protected |
Definition at line 509 of file invariants.hpp.
|
protected |
Definition at line 514 of file invariants.hpp.
|
protected |
Definition at line 514 of file invariants.hpp.
|
protected |
Definition at line 514 of file invariants.hpp.
|
protected |
Definition at line 537 of file invariants.hpp.
|
protected |
Definition at line 505 of file invariants.hpp.
|
protected |
Definition at line 505 of file invariants.hpp.
|
protected |
Definition at line 505 of file invariants.hpp.
|
protected |
Definition at line 505 of file invariants.hpp.
|
protected |
Definition at line 505 of file invariants.hpp.
|
protected |
Definition at line 506 of file invariants.hpp.
|
protected |
Definition at line 498 of file invariants.hpp.