PolyFEM
Loading...
Searching...
No Matches
polyfem::assembler::GenericMatParams Class Reference

#include <MatParams.hpp>

Public Member Functions

 GenericMatParams (const std::string &param_name)
 
const GenericMatParamoperator[] (const size_t i) const
 
size_t size () const
 
void add_multimaterial (const int index, const json &params, const std::string &unit_type)
 

Private Attributes

const std::string param_name_
 
std::vector< GenericMatParamparams_
 

Detailed Description

Definition at line 26 of file MatParams.hpp.

Constructor & Destructor Documentation

◆ GenericMatParams()

polyfem::assembler::GenericMatParams::GenericMatParams ( const std::string &  param_name)

Definition at line 60 of file MatParams.cpp.

Member Function Documentation

◆ add_multimaterial()

void polyfem::assembler::GenericMatParams::add_multimaterial ( const int  index,
const json params,
const std::string &  unit_type 
)

Definition at line 65 of file MatParams.cpp.

References polyfem::utils::json_as_array(), param_name_, and params_.

Referenced by polyfem::assembler::UnconstrainedOgdenElasticity::add_multimaterial(), and polyfem::assembler::IncompressibleOgdenElasticity::add_multimaterial().

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

◆ operator[]()

const GenericMatParam & polyfem::assembler::GenericMatParams::operator[] ( const size_t  i) const
inline

Definition at line 31 of file MatParams.hpp.

References params_.

◆ size()

size_t polyfem::assembler::GenericMatParams::size ( ) const
inline

Member Data Documentation

◆ param_name_

const std::string polyfem::assembler::GenericMatParams::param_name_
private

Definition at line 37 of file MatParams.hpp.

Referenced by add_multimaterial().

◆ params_

std::vector<GenericMatParam> polyfem::assembler::GenericMatParams::params_
private

Definition at line 38 of file MatParams.hpp.

Referenced by add_multimaterial(), operator[](), and size().


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