To receive notifications about scheduled maintenance, please subscribe to the mailing-list You can subscribe to the mailing-list at

Commit 836c82f2 authored by Cyrill Mast's avatar Cyrill Mast
Browse files

__str__() formatted

parent f82cf1b8
......@@ -105,12 +105,14 @@ class BaseYosioka(BaseSphereFrequencyComposite):
['Frequency', 'f', self.f, 'Hz'],
['Pressure', 'p_0', self.p_0, 'Pa'],
['Position', 'pos', self.position, 'm'],
['Wavelength', 'lambda', self.field.lambda_f, 'm']
['Wavelength', 'lambda', self.field.lambda_f, 'm'],
['Wavetype', 'wavetype', self.wave_type, ''],
['Number of Iterations', 'n_max', self.n_max, '']
for p in param_general:
out += SF.get_str_text(p[0], p[1], p[2], p[3])
out += 'Fluid\n'
out += '\n'
out += 'Fluid: \n'
param_fluid = [
['Density', 'rho_f', self.rho_f, 'kg/m^3'],
['Sound Speed', 'c_0', self.c_f, 'm/s'],
......@@ -118,8 +120,8 @@ class BaseYosioka(BaseSphereFrequencyComposite):
for p in param_fluid:
out += SF.get_str_text(p[0], p[1], p[2], p[3])
out += 'Particle\n'
out += '\n'
out += 'Particle: \n'
param_solid = [
['Radius', 'R_0', self.R_0, 'm'],
['Density', 'rho_s', self.rho_s, 'kg/m^3'],
......@@ -339,6 +339,9 @@ class TestYosiokaARF(BaseTest):
except NotImplementedError:
def test_str(self) -> None:
if __name__ == '__main__':
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment