#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 248 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 257 of file ThermoElasticOps.hpp.
266 using OP_MASS =
typename FormsIntegrators<OpBase>::template Assembly<
269 auto add_op = [&](
auto &&meshset_vec_ptr) {
271 for (
auto m : meshset_vec_ptr) {
272 std::vector<double> block_data;
273 m->getAttributes(block_data);
274 if (block_data.size() != 2) {
276 "Expected two parameters");
280 auto ents_ptr = boost::make_shared<Range>();
285 <<
"Add " << *
m <<
" penalty " << beta;
287 pipeline.push_back(
new OP_MASS(
289 [beta](
double,
double,
double) {
return -beta; }, ents_ptr));
296 m_field.
getInterface<MeshsetsManager>()->getCubitMeshsetPtr(std::regex(
298 (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)]