b2api
B2000++ API Reference Manual, VERSION 4.6
 
Loading...
Searching...
No Matches
b2000::Solution Class Referenceabstract

#include "b2solution.H"

Inheritance diagram for b2000::Solution:
Collaboration diagram for b2000::Solution:

Public Member Functions

virtual void set_model (Model &model)=0
 
virtual void set_case (Case &case_)=0
 
virtual void set_subcase_id (int subcase_id_)=0
 
virtual bool is_need_refinement () const
 
virtual void set_need_refinement ()
 
virtual gradient_container get_gradient_container ()=0
 
virtual void set_value (const std::string &key, bool value)
 
virtual void set_system_null_space (const b2linalg::Matrix< double, b2linalg::Mrectangle_constref > &nks, bool normalize=true, const std::string suffix="NS")
 
virtual void set_system_null_space (const b2linalg::Matrix< b2000::csda< double >, b2linalg::Mrectangle_constref > &nks, bool normalize=true, const std::string suffix="NS")
 
virtual void set_system_null_space (const b2linalg::Matrix< std::complex< double >, b2linalg::Mrectangle_constref > &nks, bool normalize=true, const std::string suffix="NS")
 
- Public Member Functions inherited from b2000::Object
virtual const std::string & get_object_name () const
 
virtual ~Object ()
 

Additional Inherited Members

- Static Public Attributes inherited from b2000::Object
static ObjectType type
 

Detailed Description

Abstract base class to hold all solution data of an analysis step of a complete FE model, computed by the Solver instance.

Member Function Documentation

◆ get_gradient_container()

virtual gradient_container b2000::Solution::get_gradient_container ( )
pure virtual

Return a shared_ptr to the GradientContainer object that is contained within the Solution object.

◆ is_need_refinement()

virtual bool b2000::Solution::is_need_refinement ( ) const
inlinevirtual
Returns
Whether the last computed solution needs refinement (used by Solver instances that support adaptive refinement).

◆ set_case()

virtual void b2000::Solution::set_case ( Case case_)
pure virtual

Set the Case object.

◆ set_model()

virtual void b2000::Solution::set_model ( Model model)
pure virtual

Set the Model object.

◆ set_need_refinement()

virtual void b2000::Solution::set_need_refinement ( )
inlinevirtual

Set the need refinement flag for the solution.

◆ set_subcase_id()

virtual void b2000::Solution::set_subcase_id ( int  subcase_id_)
pure virtual

Set the subcase ID.

◆ set_system_null_space() [1/3]

virtual void b2000::Solution::set_system_null_space ( const b2linalg::Matrix< b2000::csda< double >, b2linalg::Mrectangle_constref > &  nks,
bool  normalize = true,
const std::string  suffix = "NS" 
)
inlinevirtual

Store the null kernel space of the system of linear (or linearized) complex-valued equations if the system is under-constrained.

Parameters
nksthe null kernel space (or a part of it).

◆ set_system_null_space() [2/3]

virtual void b2000::Solution::set_system_null_space ( const b2linalg::Matrix< double, b2linalg::Mrectangle_constref > &  nks,
bool  normalize = true,
const std::string  suffix = "NS" 
)
inlinevirtual

Store the null kernel space of the system of linear (or linearized) real-valued equations if the system is under-constrained.

Parameters
nksthe null kernel space (or a part of it).

◆ set_system_null_space() [3/3]

virtual void b2000::Solution::set_system_null_space ( const b2linalg::Matrix< std::complex< double >, b2linalg::Mrectangle_constref > &  nks,
bool  normalize = true,
const std::string  suffix = "NS" 
)
inlinevirtual

Store the null kernel space of the system of linear (or linearized) complex-valued equations if the system is under-constrained.

Parameters
nksthe null kernel space (or a part of it).

◆ set_value()

virtual void b2000::Solution::set_value ( const std::string &  key,
bool  value 
)
inlinevirtual

Set a (key,value) pair as part of the solution.


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