PolyFEM
Loading...
Searching...
No Matches
polyfem::assembler::TensorBCValue Struct Reference

#include <GenericProblem.hpp>

Public Member Functions

void set_unit_type (const std::string &unit_type)
 
double eval (const RowVectorNd &pts, const int dim, const double t, const int el_id=-1) const
 

Public Attributes

std::array< utils::ExpressionValue, 3 > value
 
std::vector< std::shared_ptr< utils::Interpolation > > interpolation
 
Eigen::Matrix< bool, 1, 3 > dirichlet_dimension
 

Detailed Description

Definition at line 11 of file GenericProblem.hpp.

Member Function Documentation

◆ eval()

double polyfem::assembler::TensorBCValue::eval ( const RowVectorNd pts,
const int  dim,
const double  t,
const int  el_id = -1 
) const

Definition at line 51 of file GenericProblem.cpp.

References eval(), interpolation, val, value, x, y, and z.

Referenced by eval().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_unit_type()

void polyfem::assembler::TensorBCValue::set_unit_type ( const std::string &  unit_type)
inline

Definition at line 17 of file GenericProblem.hpp.

References value.

Member Data Documentation

◆ dirichlet_dimension

Eigen::Matrix<bool, 1, 3> polyfem::assembler::TensorBCValue::dirichlet_dimension

Definition at line 15 of file GenericProblem.hpp.

◆ interpolation

std::vector<std::shared_ptr<utils::Interpolation> > polyfem::assembler::TensorBCValue::interpolation

Definition at line 14 of file GenericProblem.hpp.

Referenced by eval().

◆ value

std::array<utils::ExpressionValue, 3> polyfem::assembler::TensorBCValue::value

Definition at line 13 of file GenericProblem.hpp.

Referenced by eval(), and set_unit_type().


The documentation for this struct was generated from the following files: