|
| NodeElementSolidOnlyMortaringElement (SolidNode *node_pt, FiniteElement *elem_pt, Vector< double > &s) |
|
void | fill_in_contribution_to_residuals (Vector< double > &residuals) override |
|
void | fill_in_contribution_to_jacobian (Vector< double > &residuals, DenseMatrix< double > &jacobian) override |
|
void | position_in_element (Vector< double > &x) |
|
SolidNode * | solid_node_pt () |
|
| ConstraintElement (Vector< Data * > &data_pt) |
|
| ConstraintElement (Vector< Data * > data_pt) |
|
virtual void | construct_lagrange_multipliers () |
|
| GeneralisedElement () |
| Constructor: Initialise all pointers and all values to zero. More...
|
|
virtual | ~GeneralisedElement () |
| Virtual destructor to clean up any memory allocated by the object. More...
|
|
| GeneralisedElement (const GeneralisedElement &)=delete |
| Broken copy constructor. More...
|
|
void | operator= (const GeneralisedElement &)=delete |
| Broken assignment operator. More...
|
|
Data *& | internal_data_pt (const unsigned &i) |
| Return a pointer to i-th internal data object. More...
|
|
Data *const & | internal_data_pt (const unsigned &i) const |
| Return a pointer to i-th internal data object (const version) More...
|
|
Data *& | external_data_pt (const unsigned &i) |
| Return a pointer to i-th external data object. More...
|
|
Data *const & | external_data_pt (const unsigned &i) const |
| Return a pointer to i-th external data object (const version) More...
|
|
unsigned long | eqn_number (const unsigned &ieqn_local) const |
|
int | local_eqn_number (const unsigned long &ieqn_global) const |
|
unsigned | add_external_data (Data *const &data_pt, const bool &fd=true) |
|
bool | external_data_fd (const unsigned &i) const |
|
void | exclude_external_data_fd (const unsigned &i) |
|
void | include_external_data_fd (const unsigned &i) |
|
void | flush_external_data () |
| Flush all external data. More...
|
|
void | flush_external_data (Data *const &data_pt) |
| Flush the object addressed by data_pt from the external data array. More...
|
|
unsigned | ninternal_data () const |
| Return the number of internal data objects. More...
|
|
unsigned | nexternal_data () const |
| Return the number of external data objects. More...
|
|
unsigned | ndof () const |
| Return the number of equations/dofs in the element. More...
|
|
void | dof_vector (const unsigned &t, Vector< double > &dof) |
| Return the vector of dof values at time level t. More...
|
|
void | dof_pt_vector (Vector< double * > &dof_pt) |
| Return the vector of pointers to dof values. More...
|
|
void | set_internal_data_time_stepper (const unsigned &i, TimeStepper *const &time_stepper_pt, const bool &preserve_existing_data) |
|
void | assign_internal_eqn_numbers (unsigned long &global_number, Vector< double * > &Dof_pt) |
|
void | describe_dofs (std::ostream &out, const std::string ¤t_string) const |
|
virtual void | describe_local_dofs (std::ostream &out, const std::string ¤t_string) const |
|
void | add_internal_value_pt_to_map (std::map< unsigned, double * > &map_of_value_pt) |
|
virtual void | assign_local_eqn_numbers (const bool &store_local_dof_pt) |
|
virtual void | complete_setup_of_dependencies () |
|
virtual void | get_residuals (Vector< double > &residuals) |
|
virtual void | get_jacobian (Vector< double > &residuals, DenseMatrix< double > &jacobian) |
|
virtual void | get_mass_matrix (Vector< double > &residuals, DenseMatrix< double > &mass_matrix) |
|
virtual void | get_jacobian_and_mass_matrix (Vector< double > &residuals, DenseMatrix< double > &jacobian, DenseMatrix< double > &mass_matrix) |
|
virtual void | get_dresiduals_dparameter (double *const ¶meter_pt, Vector< double > &dres_dparam) |
|
virtual void | get_djacobian_dparameter (double *const ¶meter_pt, Vector< double > &dres_dparam, DenseMatrix< double > &djac_dparam) |
|
virtual void | get_djacobian_and_dmass_matrix_dparameter (double *const ¶meter_pt, Vector< double > &dres_dparam, DenseMatrix< double > &djac_dparam, DenseMatrix< double > &dmass_matrix_dparam) |
|
virtual void | get_hessian_vector_products (Vector< double > const &Y, DenseMatrix< double > const &C, DenseMatrix< double > &product) |
|
virtual void | get_inner_products (Vector< std::pair< unsigned, unsigned >> const &history_index, Vector< double > &inner_product) |
|
virtual void | get_inner_product_vectors (Vector< unsigned > const &history_index, Vector< Vector< double >> &inner_product_vector) |
|
virtual unsigned | self_test () |
|
virtual void | compute_norm (Vector< double > &norm) |
|
virtual void | compute_norm (double &norm) |
|
virtual unsigned | ndof_types () const |
|
virtual void | get_dof_numbers_for_unknowns (std::list< std::pair< unsigned long, unsigned >> &dof_lookup_list) const |
|
|
static bool | Suppress_warning_about_repeated_internal_data |
|
static bool | Suppress_warning_about_repeated_external_data = true |
|
static double | Default_fd_jacobian_step = 1.0e-8 |
|
virtual void | evaluate_constraint_functions (Vector< double > &error) |
|
Vector< unsigned > | get_constrained_data_local_index () |
|
unsigned | get_lagrange_multiplier_index () |
|
Data * | lagrange_multiplier () |
|
const int | lagrange_eqn (const unsigned &i) |
|
Data * | ext_data_pt (const unsigned &i) |
|
const int | ext_eqn (const unsigned &i, const unsigned &j) |
|
unsigned | add_internal_data (Data *const &data_pt, const bool &fd=true) |
|
bool | internal_data_fd (const unsigned &i) const |
|
void | exclude_internal_data_fd (const unsigned &i) |
|
void | include_internal_data_fd (const unsigned &i) |
|
void | clear_global_eqn_numbers () |
|
void | add_global_eqn_numbers (std::deque< unsigned long > const &global_eqn_numbers, std::deque< double * > const &global_dof_pt) |
|
virtual void | assign_internal_and_external_local_eqn_numbers (const bool &store_local_dof_pt) |
|
virtual void | assign_all_generic_local_eqn_numbers (const bool &store_local_dof_pt) |
|
virtual void | assign_additional_local_eqn_numbers () |
|
int | internal_local_eqn (const unsigned &i, const unsigned &j) const |
|
int | external_local_eqn (const unsigned &i, const unsigned &j) |
|
void | fill_in_jacobian_from_internal_by_fd (Vector< double > &residuals, DenseMatrix< double > &jacobian, const bool &fd_all_data=false) |
|
void | fill_in_jacobian_from_internal_by_fd (DenseMatrix< double > &jacobian, const bool &fd_all_data=false) |
|
void | fill_in_jacobian_from_external_by_fd (Vector< double > &residuals, DenseMatrix< double > &jacobian, const bool &fd_all_data=false) |
|
void | fill_in_jacobian_from_external_by_fd (DenseMatrix< double > &jacobian, const bool &fd_all_data=false) |
|
virtual void | update_before_internal_fd () |
|
virtual void | reset_after_internal_fd () |
|
virtual void | update_in_internal_fd (const unsigned &i) |
|
virtual void | reset_in_internal_fd (const unsigned &i) |
|
virtual void | update_before_external_fd () |
|
virtual void | reset_after_external_fd () |
|
virtual void | update_in_external_fd (const unsigned &i) |
|
virtual void | reset_in_external_fd (const unsigned &i) |
|
virtual void | fill_in_contribution_to_mass_matrix (Vector< double > &residuals, DenseMatrix< double > &mass_matrix) |
|
virtual void | fill_in_contribution_to_jacobian_and_mass_matrix (Vector< double > &residuals, DenseMatrix< double > &jacobian, DenseMatrix< double > &mass_matrix) |
|
virtual void | fill_in_contribution_to_dresiduals_dparameter (double *const ¶meter_pt, Vector< double > &dres_dparam) |
|
virtual void | fill_in_contribution_to_djacobian_dparameter (double *const ¶meter_pt, Vector< double > &dres_dparam, DenseMatrix< double > &djac_dparam) |
|
virtual void | fill_in_contribution_to_djacobian_and_dmass_matrix_dparameter (double *const ¶meter_pt, Vector< double > &dres_dparam, DenseMatrix< double > &djac_dparam, DenseMatrix< double > &dmass_matrix_dparam) |
|
virtual void | fill_in_contribution_to_hessian_vector_products (Vector< double > const &Y, DenseMatrix< double > const &C, DenseMatrix< double > &product) |
|
virtual void | fill_in_contribution_to_inner_products (Vector< std::pair< unsigned, unsigned >> const &history_index, Vector< double > &inner_product) |
|
virtual void | fill_in_contribution_to_inner_product_vectors (Vector< unsigned > const &history_index, Vector< Vector< double >> &inner_product_vector) |
|
Vector< unsigned > | Constrained_Data_Local_Index |
|
unsigned | Num_Constrained_Data |
|
unsigned | Lagrange_Multiplier_Index |
|
unsigned | Num_Constraints |
|
static DenseMatrix< double > | Dummy_matrix |
|
static std::deque< double * > | Dof_pt_deque |
|
void oomph::NodeElementSolidOnlyMortaringElement::fill_in_contribution_to_jacobian_mortared_nodes |
( |
Vector< double > & |
residuals, |
|
|
DenseMatrix< double > & |
jacobian, |
|
|
const bool & |
flag |
|
) |
| |
|
inlineprivate |
84 for(
unsigned i=0;
i<
Dim;
i++)
89 Vector<int> element_node_eqn(n_node);
99 for(
unsigned l=0;l<n_node;l++)
102 element_node_eqn[l] =
ext_eqn(1+l,
i);
112 residuals[lambda_eqn] += (x_node - x_elem);
117 jacobian(lambda_eqn, node_eqn) += 1.0;
119 for(
unsigned l=0;l<n_node;l++)
121 if(element_node_eqn[l]>=0)
123 jacobian(lambda_eqn, element_node_eqn[l]) -= psi[l];
132 residuals[node_eqn] +=
lambda;
137 jacobian(node_eqn, lambda_eqn) += 1.0;
143 for(
unsigned l=0;l<n_node;l++)
145 if(element_node_eqn[l]>=0)
147 residuals[element_node_eqn[l]] -=
lambda*psi[l];
152 jacobian(element_node_eqn[l], lambda_eqn) -= psi[l];
int i
Definition: BiCGSTAB_step_by_step.cpp:9
cout<< "The eigenvalues of A are:"<< endl<< ces.eigenvalues()<< endl;cout<< "The matrix of eigenvectors, V, is:"<< endl<< ces.eigenvectors()<< endl<< endl;complex< float > lambda
Definition: ComplexEigenSolver_compute.cpp:9
Data * lagrange_multiplier()
Definition: constraint_elements.h:131
const int lagrange_eqn(const unsigned &i)
Definition: constraint_elements.h:135
const int ext_eqn(const unsigned &i, const unsigned &j)
Definition: constraint_elements.h:160
Data * ext_data_pt(const unsigned &i)
Definition: constraint_elements.h:148
double value(const unsigned &i) const
Definition: nodes.h:293
virtual void shape(const Vector< double > &s, Shape &psi) const =0
unsigned nnode() const
Return the number of nodes.
Definition: elements.h:2210
References Dim, Element_pt, oomph::ConstraintElement::ext_data_pt(), oomph::ConstraintElement::ext_eqn(), i, oomph::ConstraintElement::lagrange_eqn(), oomph::ConstraintElement::lagrange_multiplier(), lambda, Local_Coord, oomph::FiniteElement::nnode(), oomph::FiniteElement::shape(), and oomph::Data::value().
Referenced by fill_in_contribution_to_jacobian(), and fill_in_contribution_to_residuals().