PolyFEM
Loading...
Searching...
No Matches
polyfem::varform::VarFormFactory Class Reference

#include <VarFormFactory.hpp>

Static Public Member Functions

static bool supports (const std::string &formulation, const json &args, bool is_optimization=false)
 
static std::shared_ptr< VarFormcreate (const std::string &formulation, const json &args, bool is_optimization=false)
 

Detailed Description

Definition at line 12 of file VarFormFactory.hpp.

Member Function Documentation

◆ create()

std::shared_ptr< VarForm > polyfem::varform::VarFormFactory::create ( const std::string &  formulation,
const json args,
bool  is_optimization = false 
)
static

Definition at line 201 of file VarFormFactory.cpp.

References supports().

Referenced by polyfem::State::init().

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

◆ supports()

bool polyfem::varform::VarFormFactory::supports ( const std::string &  formulation,
const json args,
bool  is_optimization = false 
)
static

Definition at line 131 of file VarFormFactory.cpp.

Referenced by create(), and polyfem::varform::uses_varform_state().

Here is the caller graph for this function:

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