CArl
Code Arlequin / C++ implementation
|
#include "common_header_ext_solver_libmesh.h"
#include "common_assemble_functions_elasticity_3D.h"
#include "weight_parameter_function.h"
#include "ext_solver_libmesh_enums.h"
Go to the source code of this file.
Functions | |
void | set_homogeneous_physical_properties (libMesh::EquationSystems &es, std::string &physicalParamsFile) |
Set the homogeneous physical properties from a file. More... | |
void | set_heterogeneous_physical_properties (libMesh::EquationSystems &es, std::string &physicalParamsFile) |
Set the heterogeneous, isotropic physical properties from a file. More... | |
libMesh::Real | eval_lambda_1 (libMesh::Real E, libMesh::Real mu) |
Calculate lambda_1 from E and Mu. More... | |
libMesh::Real | eval_elasticity_tensor (unsigned int i, unsigned int j, unsigned int k, unsigned int l, libMesh::Number E, libMesh::Number mu) |
Calculate the elasticity tensor. More... | |
void | Update_SubK_isotropic (libMesh::DenseSubMatrix< libMesh::Number > &SubK, unsigned int qp, unsigned int C_i, unsigned int C_k, const std::vector< std::vector< libMesh::RealGradient > > &dphi, const unsigned int n_components, const unsigned int n_u_dofs, const std::vector< libMesh::Real > &JxW, libMesh::Number E=1.0, libMesh::Number mu=0.4, double cte=1) |
Calculate the rigidity sub-matrix contribution. More... | |
void | assemble_elasticity_with_weight (libMesh::EquationSystems &es, const std::string &system_name, weight_parameter_function &weight_mask, WeightFunctionSystemType system_type) |
Assemble homogeneous elasticity with domain weights. More... | |
void | assemble_elasticity_with_weight_and_traction (libMesh::EquationSystems &es, const std::string &system_name, weight_parameter_function &weight_mask, WeightFunctionSystemType system_type, int traction_boundary_id, std::vector< double > traction_density) |
Assemble homogeneous elasticity with domain weights and traction. More... | |
void | assemble_elasticity_heterogeneous_with_weight (libMesh::EquationSystems &es, const std::string &system_name, weight_parameter_function &weight_mask, WeightFunctionSystemType system_type) |
Assemble heterogeneous elasticity with domain weights. More... | |
void | compute_stresses (libMesh::EquationSystems &es) |
Compute the stress (based on one of libMesh's examples) More... | |
Variables | |
const bool | MASTER_bPerfLog_assemble_fem = false |
void assemble_elasticity_heterogeneous_with_weight | ( | libMesh::EquationSystems & | es, |
const std::string & | system_name, | ||
weight_parameter_function & | weight_mask, | ||
WeightFunctionSystemType | system_type | ||
) |
Assemble heterogeneous elasticity with domain weights.
Definition at line 615 of file assemble_functions_elasticity_3D.cpp.
void assemble_elasticity_with_weight | ( | libMesh::EquationSystems & | es, |
const std::string & | system_name, | ||
weight_parameter_function & | weight_mask, | ||
WeightFunctionSystemType | system_type | ||
) |
Assemble homogeneous elasticity with domain weights.
Definition at line 223 of file assemble_functions_elasticity_3D.cpp.
void assemble_elasticity_with_weight_and_traction | ( | libMesh::EquationSystems & | es, |
const std::string & | system_name, | ||
weight_parameter_function & | weight_mask, | ||
WeightFunctionSystemType | system_type, | ||
int | traction_boundary_id, | ||
std::vector< double > | traction_density | ||
) |
Assemble homogeneous elasticity with domain weights and traction.
Definition at line 397 of file assemble_functions_elasticity_3D.cpp.
void compute_stresses | ( | libMesh::EquationSystems & | es | ) |
Compute the stress (based on one of libMesh's examples)
Definition at line 794 of file assemble_functions_elasticity_3D.cpp.
libMesh::Real eval_elasticity_tensor | ( | unsigned int | i, |
unsigned int | j, | ||
unsigned int | k, | ||
unsigned int | l, | ||
libMesh::Number | E, | ||
libMesh::Number | mu | ||
) |
Calculate the elasticity tensor.
Definition at line 180 of file assemble_functions_elasticity_3D.cpp.
libMesh::Real eval_lambda_1 | ( | libMesh::Real | E, |
libMesh::Real | mu | ||
) |
Calculate lambda_1 from E and Mu.
Definition at line 175 of file assemble_functions_elasticity_3D.cpp.
void set_heterogeneous_physical_properties | ( | libMesh::EquationSystems & | es, |
std::string & | physicalParamsFile | ||
) |
Set the heterogeneous, isotropic physical properties from a file.
Definition at line 71 of file assemble_functions_elasticity_3D.cpp.
void set_homogeneous_physical_properties | ( | libMesh::EquationSystems & | es, |
std::string & | physicalParamsFile | ||
) |
Set the homogeneous physical properties from a file.
Definition at line 3 of file assemble_functions_elasticity_3D.cpp.
void Update_SubK_isotropic | ( | libMesh::DenseSubMatrix< libMesh::Number > & | SubK, |
unsigned int | qp, | ||
unsigned int | C_i, | ||
unsigned int | C_k, | ||
const std::vector< std::vector< libMesh::RealGradient > > & | dphi, | ||
const unsigned int | n_components, | ||
const unsigned int | n_u_dofs, | ||
const std::vector< libMesh::Real > & | JxW, | ||
libMesh::Number | E = 1.0 , |
||
libMesh::Number | mu = 0.4 , |
||
double | cte = 1 |
||
) |
Calculate the rigidity sub-matrix contribution.
Definition at line 195 of file assemble_functions_elasticity_3D.cpp.
const bool MASTER_bPerfLog_assemble_fem = false |
Definition at line 17 of file assemble_functions_elasticity_3D.h.