#include <tutorials/adv-2/src/ThermoElasticOps.hpp>
template<AssemblyType A, IntegrationType I, typename OpBase>
struct AddFluxToLhsPipelineImpl< OpFluxLhsImpl< ThermoElasticOps::SetTargetTemperature, 1, 1, A, I, OpBase >, A, I, OpBase >
Definition at line 261 of file ThermoElasticOps.hpp.
◆ AddFluxToLhsPipelineImpl()
template<AssemblyType A, IntegrationType I, typename OpBase >
AddFluxToLhsPipelineImpl< OpFluxLhsImpl< ThermoElasticOps::SetTargetTemperature, 1, 1, A, I, OpBase >, A, I, OpBase >::AddFluxToLhsPipelineImpl |
( |
| ) |
|
|
delete |
◆ add()
template<AssemblyType A, IntegrationType I, typename OpBase >
static MoFEMErrorCode AddFluxToLhsPipelineImpl< OpFluxLhsImpl< ThermoElasticOps::SetTargetTemperature, 1, 1, A, I, OpBase >, A, I, OpBase >::add |
( |
boost::ptr_deque< ForcesAndSourcesCore::UserDataOperator > & |
pipeline, |
|
|
MoFEM::Interface & |
m_field, |
|
|
const std::string |
field_name, |
|
|
boost::shared_ptr< VectorDouble > |
temp_ptr, |
|
|
std::string |
block_name, |
|
|
Sev |
sev |
|
) |
| |
|
inlinestatic |
Definition at line 270 of file ThermoElasticOps.hpp.
279 using OP_MASS =
typename FormsIntegrators<OpBase>::template Assembly<
282 auto add_op = [&](
auto &&meshset_vec_ptr) {
284 for (
auto m : meshset_vec_ptr) {
285 std::vector<double> block_data;
286 m->getAttributes(block_data);
287 if (block_data.size() != 2) {
289 "Expected two parameters");
293 auto ents_ptr = boost::make_shared<Range>();
298 <<
"Add " << *
m <<
" penalty " << beta;
300 pipeline.push_back(
new OP_MASS(
302 [beta](
double,
double,
double) {
return -beta; }, ents_ptr));
309 m_field.
getInterface<MeshsetsManager>()->getCubitMeshsetPtr(std::regex(
311 (boost::format(
"%s(.*)") % block_name).str()
The documentation for this struct was generated from the following file:
FormsIntegrators< DomainEleOp >::Assembly< PETSC >::BiLinearForm< GAUSS >::OpMass< 1, SPACE_DIM > OpMass
[Only used with Hooke equation (linear material model)]