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

#include <GenericProblem.hpp>

Collaboration diagram for polyfem::assembler::ScalarBCValue:
[legend]

Public Member Functions

void set_unit_type (const std::string &unit_type)
 
double eval (const RowVectorNd &pts, const double t) const
 

Public Attributes

utils::ExpressionValue value
 
std::shared_ptr< utils::Interpolationinterpolation
 

Detailed Description

Definition at line 26 of file GenericProblem.hpp.

Member Function Documentation

◆ eval()

double polyfem::assembler::ScalarBCValue::eval ( const RowVectorNd pts,
const double  t 
) const

Definition at line 73 of file GenericProblem.cpp.

References interpolation, value, x, y, and z.

◆ set_unit_type()

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

Definition at line 31 of file GenericProblem.hpp.

References polyfem::utils::ExpressionValue::set_unit_type(), and value.

Here is the call graph for this function:

Member Data Documentation

◆ interpolation

std::shared_ptr<utils::Interpolation> polyfem::assembler::ScalarBCValue::interpolation

Definition at line 29 of file GenericProblem.hpp.

Referenced by eval().

◆ value

utils::ExpressionValue polyfem::assembler::ScalarBCValue::value

Definition at line 28 of file GenericProblem.hpp.

Referenced by eval(), and set_unit_type().


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