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

int fe_space_id = -1
 
utils::ExpressionValue value
 
std::shared_ptr< utils::Interpolationinterpolation
 

Detailed Description

Definition at line 28 of file GenericProblem.hpp.

Member Function Documentation

◆ eval()

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

Definition at line 117 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 34 of file GenericProblem.hpp.

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

Here is the call graph for this function:

Member Data Documentation

◆ fe_space_id

int polyfem::assembler::ScalarBCValue::fe_space_id = -1

◆ interpolation

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

◆ value

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

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