#include "tutorials/cor-2to5/src/PoissonOperators.hpp"
Definition at line 778 of file PoissonOperators.hpp.
 
◆ OpResF_Boundary()
  
  | 
        
          | PoissonExample::OpResF_Boundary::OpResF_Boundary | ( | boost::shared_ptr< VectorDouble > & | lambda_vals | ) |  |  | inline | 
 
Definition at line 780 of file PoissonOperators.hpp.
boost::shared_ptr< VectorDouble > lambdaVals
Op_g(FVal f_value, const string field_name="L", const double beta=1)
boost::function< double(const double, const double, const double)> FVal
 
 
 
◆ iNtegrate()
Integrate local constrains vector. 
- Examples
- mofem/tutorials/cor-2to5/src/PoissonOperators.hpp.
Definition at line 789 of file PoissonOperators.hpp.
  789                                                           {
  791    
  793    
  795    
  796    const double area = getArea() * 
bEta;
 
  797    
  798    auto t_w = getFTensor0IntegrationWeight();
  799    
  801    
  803    
  805      
  806      
  807      double alpha = area * t_w;
  808      
  811      for (
int rr = 0; rr != 
nbRows; rr++) {
 
  812        t_a += alpha * t_u * t_lambda;
  813        ++t_a;
  814        ++t_u;
  815      }
  816      ++t_w;
  817      ++t_lambda;
  818    }
  820  }
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
static auto getFTensor0FromVec(ublas::vector< T, A > &data)
Get tensor rank 0 (scalar) form data vector.
FTensor::Tensor0< FTensor::PackPtr< double *, 1 > > getFTensor0N(const FieldApproximationBase base)
Get base function as Tensor0.
int nbIntegrationPts
number of integration points
 
 
◆ lambdaVals
  
  | 
        
          | boost::shared_ptr<VectorDouble> PoissonExample::OpResF_Boundary::lambdaVals |  | protected | 
 
 
The documentation for this struct was generated from the following file: