sfepy.homogenization.homogen_app module

class sfepy.homogenization.homogen_app.HomogenizationApp(conf, options, output_prefix, **kwargs)[source]
call(verbose=False, ret_all=None)[source]

Call the homogenization engine and compute the homogenized coefficients.

Parameters:

verbose : bool

If True, print the computed coefficients.

ret_all : bool or None

If not None, it can be used to override the ‘return_all’ option. If True, also the dependencies are returned.

Returns:

coefs : Coefficients instance

The homogenized coefficients.

dependencies : dict

The dependencies, if ret_all is True.

static process_options(options)[source]

Application options setup. Sets default values for missing non-compulsory options.

setup_options()[source]
class sfepy.homogenization.homogen_app.Volume(name, problem, kwargs)[source]
sfepy.homogenization.homogen_app.get_volume_from_options(options, problem)[source]