94 for (
unsigned i = 0;
i < 2;
i++)
105 for (
unsigned j = 0;
j < 2;
j++)
130 double detg = g(0, 0) * g(1, 1) * g(2, 2);
172 for (
unsigned i = 0;
i < 2;
i++)
174 for (
unsigned a = 0; a < 2; a++)
176 for (
unsigned b = a; b < 2; b++)
236 for (
unsigned i = 0;
i < 2;
i++)
246 for (
unsigned i = 0;
i < 2;
i++)
260 for (
unsigned a = 0; a < 2; a++)
262 for (
unsigned b = 0; b < 2; b++)
324 for (
unsigned ii = 0;
ii < 2;
ii++)
335 for (
unsigned ii = 0;
ii < 2;
ii++)
346 for (
unsigned a = 0; a < 2; a++)
348 for (
unsigned b = a; b < 2; b++)
351 if (a == b)
factor *= 0.5;
353 for (
unsigned aa = 0;
aa < 3;
aa++)
357 for (
unsigned bb =
aa;
bb < 3;
bb++)
370 for (
unsigned aa = 0;
aa < 3;
aa++)
374 for (
unsigned bb =
aa;
bb < 3;
bb++)
399 for (
unsigned a = 0; a < 2; a++)
401 for (
unsigned b = 0; b < 2; b++)
444 const unsigned&
flag)
535 for (
unsigned i = 0;
i < 2;
i++)
546 for (
unsigned j = 0;
j < 2;
j++)
577 double detg = g(0, 0) * g(1, 1) * g(2, 2);
615 for (
unsigned i = 0;
i < 3;
i++)
617 for (
unsigned j = 0;
j < 3;
j++)
657 for (
unsigned i = 0;
i < 2;
i++)
659 for (
unsigned a = 0; a < 2; a++)
661 for (
unsigned b = a; b < 2; b++)
721 for (
unsigned i = 0;
i < 2;
i++)
731 for (
unsigned i = 0;
i < 2;
i++)
745 for (
unsigned a = 0; a < 2; a++)
747 for (
unsigned b = 0; b < 2; b++)
809 for (
unsigned ii = 0;
ii < 2;
ii++)
820 for (
unsigned ii = 0;
ii < 2;
ii++)
831 for (
unsigned a = 0; a < 2; a++)
833 for (
unsigned b = a; b < 2; b++)
836 if (a == b)
factor *= 0.5;
838 for (
unsigned aa = 0;
aa < 3;
aa++)
842 for (
unsigned bb =
aa;
bb < 3;
bb++)
855 for (
unsigned aa = 0;
aa < 3;
aa++)
859 for (
unsigned bb =
aa;
bb < 3;
bb++)
884 for (
unsigned a = 0; a < 2; a++)
886 for (
unsigned b = 0; b < 2; b++)
960 for (
unsigned a = 0; a < 2; a++)
962 for (
unsigned b = 0; b < 2; b++)
1088 for (
unsigned ii = 0;
ii < 2;
ii++)
1099 for (
unsigned ii = 0;
ii < 2;
ii++)
1109 for (
unsigned aa = 0;
aa < 3;
aa++)
1112 for (
unsigned bb =
aa;
bb < 3;
bb++)
1180 for (
unsigned ii = 0;
ii < 2;
ii++)
1191 for (
unsigned ii = 0;
ii < 2;
ii++)
1201 for (
unsigned aa = 0;
aa < 3;
aa++)
1204 for (
unsigned bb =
aa;
bb < 3;
bb++)
void get_stress(const DenseMatrix< double > &g, const DenseMatrix< double > &G, DenseMatrix< double > &sigma)
Return the stress tensor, as calculated from the constitutive law.
double eta_mass()
Return the mass damping parameter.
void body_force(const Vector< double > &xi, Vector< double > &b) const
Evaluate body force at Lagrangian coordinate xi at present time (returns zero vector if no body force...
const double & lambda_sq() const
Access function for timescale ratio (nondim density)
void get_d_stress_dG_upper(const DenseMatrix< double > &g, const DenseMatrix< double > &G, const DenseMatrix< double > &sigma, RankFourTensor< double > &d_sigma_dG)
Return the derivatives of the 2nd Piola Kirchhoff stress tensor, as calculated from the constitutive ...
void body_force(const Vector< double > &xi, Vector< double > &b) const
Evaluate body force at Lagrangian coordinate xi at present time (returns zero vector if no body force...
void get_stress(const DenseMatrix< double > &g, const DenseMatrix< double > &G, DenseMatrix< double > &sigma, DenseMatrix< double > &Gup, double &pressure_stress, double &kappa)
Return the stress tensor, as calculated from the constitutive law in the Near-incompresible formulati...
double eta_mass()
Return the mass damping parameter.
double interpolated_solid_p(const Vector< double > &s) const
Return the interpolated_solid_pressure.
void solid_pshape_at_knot(const unsigned &ipt, Shape &psi) const
Return the stored solid shape functions at the knots.
virtual int solid_p_local_eqn(const unsigned &i) const =0
Access function that returns the local equation number for the n-th solid pressure value.
void get_d_stress_dG_upper(const DenseMatrix< double > &g, const DenseMatrix< double > &G, const DenseMatrix< double > &sigma, const double &gen_dil, const double &inv_kappa, const double &interpolated_solid_p, RankFourTensor< double > &d_sigma_dG, DenseMatrix< double > &d_gen_dil_dG)
Return the derivative of the deviatoric part of the 2nd Piola Kirchhoff stress tensor,...
virtual double solid_p(const unsigned &l) const =0
Return the lth solid pressures.
bool Incompressible
Boolean to determine whether the solid is incompressible or not.
virtual int solid_p_nodal_index() const
Return the index at which the solid pressure is stored.
virtual unsigned nsolid_pres() const =0
Return the number of solid pressure degrees of freedom.
const double & lambda_sq() const
Access function for timescale ratio (nondim density)
A Class for the derivatives of shape functions The class design is essentially the same as Shape,...
Integral *const & integral_pt() const
Return the pointer to the integration scheme (const version)
unsigned nnode() const
Return the number of nodes.
double nodal_position(const unsigned &n, const unsigned &i) const
Return the i-th coordinate at local node n. If the node is hanging, the appropriate interpolation is ...
Node *& node_pt(const unsigned &n)
Return a pointer to the local node n.
double dnodal_position_dt(const unsigned &n, const unsigned &i) const
Return the i-th component of nodal velocity: dx/dt at local node n.
Class that contains data for hanging nodes.
virtual unsigned nweight() const =0
Return the number of integration points of the scheme.
virtual double weight(const unsigned &i) const =0
Return weight of i-th integration point.
Nodes are derived from Data, but, in addition, have a definite (Eulerian) position in a space of a gi...
TimeStepper *& position_time_stepper_pt()
Return a pointer to the position timestepper.
void fill_in_contribution_to_residuals_axisym_pvd(Vector< double > &residuals, DenseMatrix< double > &jacobian, const unsigned &flag)
Call the residuals including hanging node cases.
virtual Node * solid_pressure_node_pt(const unsigned &l)
Return a pointer to the solid node at which pressure dof l2 is stored.
void fill_in_contribution_to_residuals_axisym_pvd_with_pressure(Vector< double > &residuals, DenseMatrix< double > &jacobian, const unsigned &flag)
Call the residuals including hanging node cases.
int local_hang_eqn(Node *const &node_pt, const unsigned &i)
Access function that returns the local equation number for the hanging node variables (values stored ...
DenseMatrix< int > & local_position_hang_eqn(Node *const &node_pt)
Access the local equation number of of hanging node variables associated with nodal positions....
A Class for shape functions. In simple cases, the shape functions have only one index that can be tho...
double lagrangian_position(const unsigned &n, const unsigned &i) const
Return i-th Lagrangian coordinate at local node n.
int position_local_eqn(const unsigned &n, const unsigned &k, const unsigned &j) const
Access function that returns the local equation number that corresponds to the j-th coordinate of the...
virtual double interpolated_xi(const Vector< double > &s, const unsigned &i) const
Return i-th FE-interpolated Lagrangian coordinate xi[i] at local coordinate s.
virtual double dshape_lagrangian_at_knot(const unsigned &ipt, Shape &psi, DShape &dpsidxi) const
Return the geometric shape functions and also first derivatives w.r.t. Lagrangian coordinates at ipt-...
TAdvectionDiffusionReactionElement<NREAGENT,DIM,NNODE_1D> elements are isoparametric triangular DIM-d...
virtual double weight(const unsigned &i, const unsigned &j) const
Access function for j-th weight for the i-th derivative.
DRAIG: Change all instances of (SPATIAL_DIM) to (DIM-1).