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)
 
static std::shared_ptr< VarFormcreate (const std::string &formulation, const json &args)
 

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 
)
static

Definition at line 95 of file VarFormFactory.cpp.

References polyfem::assembler::AssemblerUtils::make_assembler(), and supports().

Referenced by polyfem::State::init(), and polyfem::varform::uses_varform_state().

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 
)
static

Definition at line 61 of file VarFormFactory.cpp.

References polyfem::assembler::AssemblerUtils::make_assembler(), and polyfem::assembler::AssemblerUtils::other_assembler_name().

Referenced by create().

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

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